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.001629/0.001629, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.00244/0.00244, allocations: 212.1 kB / 22.24 MB, free: 5.242 MB / 14.72 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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-531:686: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-531:694: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.334/1.334, allocations: 203.5 MB / 0.5038 GB, free: 4.91 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 70.2 kB / 0.7183 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.744, allocations: 102 MB / 0.8179 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002118/0.7461, allocations: 0.7016 MB / 0.8185 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.7481, allocations: 1.283 MB / 0.8198 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.7482, allocations: 0 / 0.8198 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.7482, allocations: 7.875 kB / 0.8198 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.7483, allocations: 15.88 kB / 0.8198 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.7491, allocations: 253 kB / 0.8201 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.7495, allocations: 255.5 kB / 0.8203 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.7496, allocations: 12.17 kB / 0.8203 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.7498, allocations: 103.8 kB / 0.8204 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.75, allocations: 87.69 kB / 0.8205 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.75, allocations: 20 kB / 0.8205 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.7501, allocations: 39.98 kB / 0.8206 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.7502, allocations: 39.89 kB / 0.8206 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.7503, allocations: 75.81 kB / 0.8207 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.7507, allocations: 222.9 kB / 0.8209 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7507, allocations: 4 kB / 0.8209 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.41e-07/0.7507, allocations: 4 kB / 0.8209 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.7507, allocations: 0 / 0.8209 GB, free: 15.23 MB / 0.6075 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.0008279/0.7515, allocations: 432 kB / 0.8213 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7516, allocations: 8.031 kB / 0.8213 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.7516, allocations: 20.89 kB / 0.8213 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.7523, allocations: 194.4 kB / 0.8215 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.7523, allocations: 12.38 kB / 0.8215 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.7524, allocations: 20.36 kB / 0.8215 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.7527, allocations: 134.7 kB / 0.8217 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7527, allocations: 3.938 kB / 0.8217 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.7527, allocations: 4 kB / 0.8217 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7527, allocations: 0 / 0.8217 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.7529, allocations: 63.89 kB / 0.8217 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.7538, allocations: 428.6 kB / 0.8222 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.7541, allocations: 145 kB / 0.8223 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.812e-05/0.7542, allocations: 51 kB / 0.8223 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.7543, allocations: 4 kB / 0.8223 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.7547, allocations: 208.2 kB / 0.8225 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.694e-06/0.7547, allocations: 0 / 0.8225 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006474/0.7553, allocations: 317.6 kB / 0.8228 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.7554, allocations: 93.08 kB / 0.8229 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.7555, allocations: 134 kB / 0.8231 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.7556, allocations: 33.8 kB / 0.8231 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.7557, allocations: 104.5 kB / 0.8232 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.7557, allocations: 51.62 kB / 0.8232 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.7559, allocations: 73.67 kB / 0.8233 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.756, allocations: 322.8 kB / 0.8236 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.7563, allocations: 147.6 kB / 0.8238 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.7566, allocations: 216.9 kB / 0.824 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.757, allocations: 245 kB / 0.8242 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.757, allocations: 0 / 0.8242 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006697/0.7576, allocations: 432 kB / 0.8246 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.7577, allocations: 67.39 kB / 0.8247 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7577, allocations: 4 kB / 0.8247 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.7577, allocations: 4 kB / 0.8247 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7579, allocations: 15.94 kB / 0.8247 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.7579, allocations: 7.984 kB / 0.8247 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.7582, allocations: 71.98 kB / 0.8248 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.7583, allocations: 23.98 kB / 0.8248 GB, free: 10.88 MB / 0.6075 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.0001785/0.7585, allocations: 144.8 kB / 0.8249 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.7585, allocations: 19.89 kB / 0.825 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.7585, allocations: 12.44 kB / 0.825 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7585, allocations: 4 kB / 0.825 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.7586, allocations: 0 / 0.825 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.7586, allocations: 7.938 kB / 0.825 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.7592, allocations: 0.5549 MB / 0.8255 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7592, allocations: 0 / 0.8255 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.7593, allocations: 8 kB / 0.8255 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7593, allocations: 0 / 0.8255 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7593, allocations: 7.984 kB / 0.8255 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7593, allocations: 3.938 kB / 0.8255 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7593, allocations: 0 / 0.8255 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.7598, allocations: 438.5 kB / 0.826 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.7599, allocations: 11.89 kB / 0.826 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.7599, allocations: 11.98 kB / 0.826 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.76, allocations: 11.98 kB / 0.826 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.7601, allocations: 27.89 kB / 0.826 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.7602, allocations: 12 kB / 0.826 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.7602, allocations: 95.27 kB / 0.8261 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7602, allocations: 0 / 0.8261 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003826/0.7606, allocations: 63.94 kB / 0.8262 GB, free: 9.406 MB / 0.6075 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.0002057/0.7608, allocations: 111.2 kB / 0.8263 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.7614, allocations: 382.1 kB / 0.8267 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7614, allocations: 0 / 0.8267 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.7616, allocations: 87.89 kB / 0.8267 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.762, allocations: 28.2 kB / 0.8268 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.7625, allocations: 280.1 kB / 0.827 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.7627, allocations: 97.05 kB / 0.8271 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.366e-05/0.7627, allocations: 17.48 kB / 0.8271 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.7628, allocations: 19.42 kB / 0.8272 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.7628, allocations: 288 / 0.8272 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of Templates: time 0.00737/0.7701, allocations: 2.975 MB / 0.8301 GB, free: 5.41 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.151579754427075] Failed to read output from testmodel.py, exit status != 0: 0.7789268400520086 0.794152567 0.040192807000000004 Calling exit ...