Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.188/1.188, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.5199 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.825e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001943/0.001981, allocations: 0.6297 MB / 0.5205 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.003855, allocations: 1.213 MB / 0.5217 GB, free: 316 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.003901, allocations: 4 kB / 0.5217 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.003937, allocations: 7.922 kB / 0.5217 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.004025, allocations: 13.3 kB / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.004707, allocations: 212.9 kB / 0.5219 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.005008, allocations: 175.7 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.005096, allocations: 4 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.005273, allocations: 100.8 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.005412, allocations: 47.92 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.005451, allocations: 16.97 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.005532, allocations: 23.98 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.005563, allocations: 15.92 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.005666, allocations: 52.89 kB / 0.5223 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.005954, allocations: 179.6 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.005958, allocations: 0.6875 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.005959, allocations: 0 / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.005965, allocations: 1.469 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006608/0.006626, allocations: 353.5 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.00667, allocations: 12.03 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.006754, allocations: 20.81 kB / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.006889, allocations: 114.3 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.006911, allocations: 5.406 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.006943, allocations: 8.375 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.007073, allocations: 54.23 kB / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.007082, allocations: 1.312 kB / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.007092, allocations: 384 / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.007096, allocations: 384 / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.007141, allocations: 16.56 kB / 0.523 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.007642, allocations: 268.4 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/0.007737, allocations: 40.09 kB / 0.5233 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.00777, allocations: 12.86 kB / 0.5233 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.007782, allocations: 0 / 0.5233 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.007997, allocations: 89.14 kB / 0.5234 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.007998, allocations: 0 / 0.5234 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003071/0.008305, allocations: 105.6 kB / 0.5235 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.008362, allocations: 51.41 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.008502, allocations: 125.7 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.008544, allocations: 35.45 kB / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.008634, allocations: 100 kB / 0.5238 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.008654, allocations: 11.91 kB / 0.5238 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.008763, allocations: 53.62 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.008937, allocations: 323.6 kB / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.009125, allocations: 115.4 kB / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.009348, allocations: 160 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.009586, allocations: 153 kB / 0.5246 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009588, allocations: 0 / 0.5246 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005683/0.01016, allocations: 345.7 kB / 0.5249 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.01023, allocations: 69.11 kB / 0.525 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01024, allocations: 0 / 0.525 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.01026, allocations: 4 kB / 0.525 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-05/0.01029, allocations: 6.375 kB / 0.525 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.0103, allocations: 4 kB / 0.525 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.01067, allocations: 52 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.0107, allocations: 16.55 kB / 0.5251 GB, free: 12.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.01084, allocations: 118.4 kB / 0.5252 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.01086, allocations: 16.92 kB / 0.5252 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.01089, allocations: 12.42 kB / 0.5252 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01089, allocations: 0.9375 kB / 0.5252 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.0109, allocations: 0 / 0.5252 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.0109, allocations: 0 / 0.5252 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01105, allocations: 128.5 kB / 0.5253 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01105, allocations: 0 / 0.5253 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.01106, allocations: 3.938 kB / 0.5254 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.01107, allocations: 7.938 kB / 0.5254 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01107, allocations: 0 / 0.5254 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.01108, allocations: 3.984 kB / 0.5254 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01108, allocations: 0 / 0.5254 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.01127, allocations: 113.4 kB / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.01128, allocations: 0 / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.01131, allocations: 10.97 kB / 0.5255 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.01133, allocations: 0 / 0.5255 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.01138, allocations: 11.98 kB / 0.5255 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01139, allocations: 0 / 0.5255 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.123e-05/0.01146, allocations: 91.27 kB / 0.5256 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01146, allocations: 3.938 kB / 0.5256 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002541/0.01171, allocations: 31.95 kB / 0.5256 GB, free: 11.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.0119, allocations: 107.9 kB / 0.5257 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.01234, allocations: 278.1 kB / 0.526 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01234, allocations: 0.5 kB / 0.526 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.906e-05/0.0124, allocations: 34.44 kB / 0.526 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01265, allocations: 15.98 kB / 0.526 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.01303, allocations: 157.1 kB / 0.5262 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.01311, allocations: 73.78 kB / 0.5263 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.01314, allocations: 11.97 kB / 0.5263 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.01316, allocations: 12.44 kB / 0.5263 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01316, allocations: 0 / 0.5263 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.005414/0.01858, allocations: 2.043 MB / 0.5283 GB, free: 9.254 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.908496490912512]