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.00191/0.00191, allocations: 85.48 kB / 19.44 MB, free: 344 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.002006/0.002006, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.301/1.301, allocations: 154.6 MB / 414.1 MB, free: 0.6562 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 178] 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 2.385e-06/2.385e-06, allocations: 0 / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.511e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00196/0.001995, allocations: 0.6534 MB / 0.5203 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.003927, allocations: 1.178 MB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.003981, allocations: 1.688 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.004011, allocations: 3.938 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.004107, allocations: 19.84 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.004637, allocations: 144.8 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.004876, allocations: 143.7 kB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.004972, allocations: 12.72 kB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.005119, allocations: 71.94 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.005248, allocations: 49.05 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.005285, allocations: 12 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.005369, allocations: 27.98 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.005407, allocations: 20.69 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.005494, allocations: 43.89 kB / 0.522 GB, free: 148 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.00576, allocations: 148.2 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005763, allocations: 0 / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005764, allocations: 1.094 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005769, allocations: 4.047 kB / 0.5221 GB, free: 15.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007753/0.006544, allocations: 454.4 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.006583, allocations: 8.031 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.006665, allocations: 17.61 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.007078, allocations: 152 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.007102, allocations: 4.375 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.007141, allocations: 20.36 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.00734, allocations: 90.14 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.00735, allocations: 192 / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.007368, allocations: 8.344 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.007375, allocations: 4.125 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.007511, allocations: 39.97 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.008166, allocations: 344.9 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.008418, allocations: 107 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.008496, allocations: 36.61 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.008509, allocations: 4 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.008783, allocations: 138.5 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.008785, allocations: 3.938 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0004803/0.009265, allocations: 214.6 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.009324, allocations: 55.41 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.009499, allocations: 183.9 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.009542, allocations: 33.7 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.009643, allocations: 134.9 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.009695, allocations: 35.94 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.009801, allocations: 59.34 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.01008, allocations: 0.4884 MB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.01024, allocations: 86.39 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.01045, allocations: 145.8 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.01069, allocations: 156.3 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01069, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004605/0.01115, allocations: 274.2 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.01121, allocations: 38.48 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01121, allocations: 0 / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01123, allocations: 5.594 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01133, allocations: 11.98 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01134, allocations: 4 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.01152, allocations: 30.62 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.01155, allocations: 15.98 kB / 0.5254 GB, free: 12.38 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 0.000155/0.01171, allocations: 168.5 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.01174, allocations: 27.88 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.01179, allocations: 8.438 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01179, allocations: 0 / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.01179, allocations: 2.062 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.0118, allocations: 4 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.01234, allocations: 437.3 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01234, allocations: 0 / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.01237, allocations: 4 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01238, allocations: 0.9375 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.0124, allocations: 8 kB / 0.526 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.0124, allocations: 3.984 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0124, allocations: 0.7188 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.0128, allocations: 339.1 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.01281, allocations: 8.922 kB / 0.5263 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.01284, allocations: 11.98 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.01316, allocations: 9.203 kB / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.01322, allocations: 11.98 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.01324, allocations: 11.98 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.01333, allocations: 127.8 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01333, allocations: 0 / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002737/0.0136, allocations: 39.27 kB / 0.5265 GB, free: 11.12 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.0001929/0.0138, allocations: 108.2 kB / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.01422, allocations: 248.1 kB / 0.5269 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01422, allocations: 0 / 0.5269 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.01435, allocations: 71.59 kB / 0.5269 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01465, allocations: 23.05 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.01514, allocations: 202.5 kB / 0.5272 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.01524, allocations: 75.33 kB / 0.5272 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.01528, allocations: 6.312 kB / 0.5272 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.01533, allocations: 20.42 kB / 0.5273 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of SimCode: time 6.02e-07/0.01533, allocations: 4 kB / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.005791/0.02112, allocations: 1.758 MB / 0.529 GB, free: 8.66 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: 6.339301667991094]