Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.001935/0.001935, allocations: 93.47 kB / 19.44 MB, free: 332 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.002404/0.002404, allocations: 169.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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.339/1.339, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.196e-05, allocations: 4.281 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00193/0.001962, allocations: 0.7192 MB / 0.5203 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.003887, allocations: 1.29 MB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.003941, allocations: 4 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.003972, allocations: 7.875 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.00406, allocations: 11.86 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.004729, allocations: 249.3 kB / 0.5219 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.005056, allocations: 257 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.005145, allocations: 12.22 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.005374, allocations: 143.8 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.00577, allocations: 79.8 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.005828, allocations: 24.94 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.00592, allocations: 35.98 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.00597, allocations: 35.89 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.006087, allocations: 73.2 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.006454, allocations: 259.3 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.00646, allocations: 4 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006461, allocations: 5.219 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.006466, allocations: 0 / 0.5227 GB, free: 15.38 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008605/0.007326, allocations: 0.5157 MB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.007365, allocations: 8.031 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.007467, allocations: 36.83 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.008034, allocations: 191.2 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.008064, allocations: 12.38 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.008112, allocations: 24.36 kB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.008379, allocations: 148 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.008388, allocations: 0.9688 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.008406, allocations: 4.375 kB / 0.5237 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.008412, allocations: 9.906 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.008567, allocations: 63.95 kB / 0.5237 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008711/0.009438, allocations: 0.524 MB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.009814, allocations: 174.1 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.009943, allocations: 67.34 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.009964, allocations: 4 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.01038, allocations: 228.9 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.01038, allocations: 4.5 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0006983/0.01108, allocations: 334.1 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.01116, allocations: 89.11 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01135, allocations: 202.6 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.0114, allocations: 37.7 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01152, allocations: 143.4 kB / 0.5255 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.0116, allocations: 64.08 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.01175, allocations: 83.33 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002972/0.01204, allocations: 0.5044 MB / 0.5261 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.01231, allocations: 165.1 kB / 0.5263 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.01264, allocations: 253 kB / 0.5265 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.01302, allocations: 282.9 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.01303, allocations: 7.938 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007376/0.01377, allocations: 458.9 kB / 0.5272 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.01383, allocations: 63.41 kB / 0.5273 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.01385, allocations: 7.984 kB / 0.5273 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.01387, allocations: 4 kB / 0.5273 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01397, allocations: 20.75 kB / 0.5273 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.01398, allocations: 3.938 kB / 0.5273 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.01429, allocations: 60.95 kB / 0.5274 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.01433, allocations: 22.8 kB / 0.5274 GB, free: 10.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001935/0.01453, allocations: 198.4 kB / 0.5276 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.01458, allocations: 27.92 kB / 0.5276 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.01462, allocations: 16.44 kB / 0.5276 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01463, allocations: 4 kB / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01463, allocations: 2.75 kB / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01464, allocations: 0 / 0.5276 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.01541, allocations: 0.6605 MB / 0.5283 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01542, allocations: 0 / 0.5283 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.01546, allocations: 11.92 kB / 0.5283 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.01547, allocations: 4 kB / 0.5283 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.01549, allocations: 11.98 kB / 0.5283 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01549, allocations: 0.8438 kB / 0.5283 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01549, allocations: 0 / 0.5283 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.01608, allocations: 0.534 MB / 0.5288 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.0161, allocations: 13.28 kB / 0.5288 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.01614, allocations: 11.98 kB / 0.5288 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.01627, allocations: 11.98 kB / 0.5289 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.01636, allocations: 25.42 kB / 0.5289 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.01639, allocations: 15.98 kB / 0.5289 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01649, allocations: 144.9 kB / 0.529 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01649, allocations: 0 / 0.529 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003435/0.01683, allocations: 56.5 kB / 0.5291 GB, free: 8.438 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004268/0.01726, allocations: 121.9 kB / 0.5292 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006672/0.01793, allocations: 439.2 kB / 0.5296 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01793, allocations: 4 kB / 0.5296 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.01811, allocations: 109.1 kB / 0.5297 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.01851, allocations: 33.59 kB / 0.5298 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.0191, allocations: 289.3 kB / 0.53 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01921, allocations: 89.91 kB / 0.5301 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.031e-05/0.01928, allocations: 21.27 kB / 0.5301 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.01934, allocations: 20.48 kB / 0.5302 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01934, allocations: 0 / 0.5302 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of Templates: time 0.007374/0.02671, allocations: 2.891 MB / 0.533 GB, free: 4.527 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.188073061057366]