Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001142/0.001142, allocations: 109.3 kB / 18.93 MB, free: 1.27 MB / 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.001086/0.001086, allocations: 221.7 kB / 22.25 MB, free: 3.703 MB / 13.93 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.015/1.015, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.7975/0.7975, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.0009784/0.0009784, allocations: 66.31 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4656, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001359/0.4669, allocations: 0.7418 MB / 0.8186 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.4682, allocations: 1.301 MB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.4683, allocations: 0 / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.4683, allocations: 5.719 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.4684, allocations: 28.58 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.4689, allocations: 244 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.4692, allocations: 255.9 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.4692, allocations: 11.86 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4693, allocations: 100.9 kB / 0.8205 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.4695, allocations: 99.2 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.4695, allocations: 21.75 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.4696, allocations: 37.11 kB / 0.8206 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.4696, allocations: 40.52 kB / 0.8207 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.4697, allocations: 86.94 kB / 0.8207 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.4699, allocations: 226.1 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4699, allocations: 0.6562 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.47, allocations: 3.625 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.47, allocations: 0 / 0.821 GB, free: 15.35 MB / 0.6198 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.0005422/0.4705, allocations: 428.5 kB / 0.8214 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4705, allocations: 12.94 kB / 0.8214 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.4706, allocations: 37.77 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.4706, allocations: 24.69 kB / 0.8214 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.471, allocations: 197.5 kB / 0.8216 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.471, allocations: 13.23 kB / 0.8216 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.4711, allocations: 17.97 kB / 0.8217 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4713, allocations: 140 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.4713, allocations: 0 / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4713, allocations: 5.172 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4713, allocations: 1.969 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.4714, allocations: 62.36 kB / 0.8219 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.4719, allocations: 495.8 kB / 0.8223 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4721, allocations: 134.8 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.4722, allocations: 55.41 kB / 0.8225 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.4722, allocations: 2.25 kB / 0.8225 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.4725, allocations: 209.3 kB / 0.8227 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.4725, allocations: 0 / 0.8227 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0004142/0.4729, allocations: 313.9 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.473, allocations: 95.09 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.473, allocations: 127.6 kB / 0.8232 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4731, allocations: 36.11 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.4731, allocations: 101.2 kB / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.4732, allocations: 50.59 kB / 0.8234 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.4732, allocations: 75.34 kB / 0.8235 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.4733, allocations: 322 kB / 0.8238 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4735, allocations: 95.27 kB / 0.8239 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.4736, allocations: 147.8 kB / 0.824 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.4738, allocations: 246.6 kB / 0.8243 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4738, allocations: 5.5 kB / 0.8243 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003896/0.4742, allocations: 364.8 kB / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.4742, allocations: 65.39 kB / 0.8247 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4743, allocations: 7.281 kB / 0.8247 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4743, allocations: 11.83 kB / 0.8247 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.4743, allocations: 22.23 kB / 0.8247 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.4743, allocations: 8.656 kB / 0.8247 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.4745, allocations: 68.66 kB / 0.8248 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4746, allocations: 17.22 kB / 0.8248 GB, free: 12.57 MB / 0.6198 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 9.52e-05/0.4747, allocations: 141.4 kB / 0.8249 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.4747, allocations: 16.88 kB / 0.825 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.4747, allocations: 15.92 kB / 0.825 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4747, allocations: 6.719 kB / 0.825 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4747, allocations: 1.922 kB / 0.825 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4747, allocations: 5.125 kB / 0.825 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.4752, allocations: 0.5798 MB / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4752, allocations: 0 / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.4752, allocations: 12.05 kB / 0.8256 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4752, allocations: 6.047 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4752, allocations: 10.39 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4752, allocations: 1.797 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4752, allocations: 0 / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.4755, allocations: 428.2 kB / 0.826 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.4755, allocations: 13.64 kB / 0.826 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4756, allocations: 10.31 kB / 0.826 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.4756, allocations: 16.3 kB / 0.826 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.4757, allocations: 21.7 kB / 0.826 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4757, allocations: 16.67 kB / 0.8261 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.4758, allocations: 92.5 kB / 0.8261 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4758, allocations: 4.094 kB / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002635/0.476, allocations: 66.88 kB / 0.8262 GB, free: 11.58 MB / 0.6198 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.0005441/0.4766, allocations: 0.9499 MB / 0.8271 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.4769, allocations: 327.1 kB / 0.8275 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4769, allocations: 1.625 kB / 0.8275 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.477, allocations: 90.14 kB / 0.8275 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.4773, allocations: 30.83 kB / 0.8276 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.4801, allocations: 2.286 MB / 0.8298 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4804, allocations: 0.7028 MB / 0.8305 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.28e-05/0.4804, allocations: 20.64 kB / 0.8305 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.4805, allocations: 37.22 kB / 0.8305 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.4805, allocations: 0 / 0.8305 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5019, allocations: 4.35 MB / 0.8348 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.376, allocations: 3.438 kB / 0.8348 GB, free: 7.395 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.312263388186693] Failed to read output from testmodel.py, exit status != 0: 7.453594618942589 7.46543624 6.993448185 Calling exit ...