Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.00155/0.00155, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001678/0.001678, allocations: 173 kB / 23.49 MB, free: 1.059 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8191/0.8191, allocations: 154.6 MB / 414.9 MB, free: 0.6953 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.716e-05, allocations: 3.938 kB / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001486/0.001513, allocations: 0.6506 MB / 0.521 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002839, allocations: 1.206 MB / 0.5222 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.002902, allocations: 2.031 kB / 0.5222 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.002934, allocations: 3.938 kB / 0.5222 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.00302, allocations: 15.84 kB / 0.5222 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.003535, allocations: 144.8 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.003746, allocations: 143.7 kB / 0.5225 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003851, allocations: 7.984 kB / 0.5225 GB, free: 384 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.003964, allocations: 77.41 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004067, allocations: 47.84 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.004094, allocations: 16 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.004155, allocations: 20 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.004184, allocations: 24.84 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.004247, allocations: 39.89 kB / 0.5227 GB, free: 160 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004416, allocations: 116.6 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004419, allocations: 0 / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00442, allocations: 0 / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004425, allocations: 8.938 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005489/0.004974, allocations: 442.3 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.005011, allocations: 8.562 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.005075, allocations: 17.39 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.005347, allocations: 149.8 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.005371, allocations: 12.36 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.005393, allocations: 13.38 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.005548, allocations: 94.77 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005557, allocations: 0.8125 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.005571, allocations: 4.375 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.005583, allocations: 8.688 kB / 0.5235 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.005652, allocations: 29.34 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.00617, allocations: 339.5 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.006368, allocations: 84.81 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.006414, allocations: 23.67 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.006424, allocations: 4 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.006666, allocations: 130.7 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.006668, allocations: 3.938 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.000315/0.006983, allocations: 188 kB / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.00702, allocations: 56.16 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.269e-05/0.007103, allocations: 169.9 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.007127, allocations: 35.11 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.007179, allocations: 143 kB / 0.5247 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.007204, allocations: 31.75 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.007265, allocations: 51.34 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.007375, allocations: 0.4897 MB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.007463, allocations: 73.67 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.007578, allocations: 120 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.007701, allocations: 134 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007704, allocations: 0 / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002508/0.007954, allocations: 251.2 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.007989, allocations: 37.7 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007994, allocations: 0 / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.008009, allocations: 4 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.008076, allocations: 11.98 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.008084, allocations: 4 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.008184, allocations: 30.95 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.008199, allocations: 12 kB / 0.5259 GB, free: 12.61 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: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.489e-05/0.008284, allocations: 168.5 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.008304, allocations: 23.88 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.008336, allocations: 8.438 kB / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00834, allocations: 4 kB / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008344, allocations: 1.5 kB / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008348, allocations: 3.984 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.008658, allocations: 417.2 kB / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.00866, allocations: 0 / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.008685, allocations: 5.438 kB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.008687, allocations: 0 / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.008699, allocations: 3.984 kB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.0087, allocations: 4 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.008702, allocations: 1.594 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.008906, allocations: 323.7 kB / 0.5268 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.008915, allocations: 3.953 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.008939, allocations: 8.656 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.008992, allocations: 11.98 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.009043, allocations: 12.59 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.009054, allocations: 8 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.009098, allocations: 135.7 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009098, allocations: 2.531 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001904/0.009288, allocations: 32 kB / 0.527 GB, free: 11.39 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001595/0.009448, allocations: 108.2 kB / 0.5271 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.00968, allocations: 207 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009681, allocations: 0 / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.065e-05/0.009742, allocations: 51.61 kB / 0.5274 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.009958, allocations: 23.91 kB / 0.5274 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.01028, allocations: 192.3 kB / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.01032, allocations: 65.08 kB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.01036, allocations: 13.67 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.01038, allocations: 16.44 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of SimCode: time 5.48e-06/0.01039, allocations: 0 / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.003887/0.01428, allocations: 1.765 MB / 0.5294 GB, free: 9 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.067717141006142]