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.0007837/0.0007837, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008879/0.0008879, allocations: 209.2 kB / 22.25 MB, free: 3.586 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 0.9683/0.9683, allocations: 230.6 MB / 256 MB, free: 9.645 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.7659/0.7659, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001269/0.001269, allocations: 71.77 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4697, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001546/0.4712, allocations: 0.7058 MB / 0.8185 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.4725, allocations: 1.282 MB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.4726, allocations: 3.5 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.4726, allocations: 8.953 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.883e-05/0.4727, allocations: 14.34 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.4733, allocations: 257.9 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.4736, allocations: 244.4 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4737, allocations: 18.58 kB / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.4738, allocations: 97.19 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.474, allocations: 82.88 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.474, allocations: 22.75 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.4741, allocations: 41.14 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.4741, allocations: 28.62 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4742, allocations: 81.19 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.4746, allocations: 239.7 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4746, allocations: 0 / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4746, allocations: 0 / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4746, allocations: 0 / 0.8208 GB, free: 15.18 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.0006656/0.4752, allocations: 432.2 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4753, allocations: 9.5 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.4753, allocations: 40.84 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.4754, allocations: 18.47 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.4758, allocations: 194.1 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.4758, allocations: 14.84 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4758, allocations: 19.5 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.4761, allocations: 136.7 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4761, allocations: 0 / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4761, allocations: 7.703 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4761, allocations: 1.781 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4762, allocations: 64.02 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.4769, allocations: 460.9 kB / 0.8222 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.4771, allocations: 134.5 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.173e-05/0.4772, allocations: 56.11 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4772, allocations: 2.156 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.4776, allocations: 207.9 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.4776, allocations: 0 / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005072/0.4781, allocations: 315.1 kB / 0.8229 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4781, allocations: 91.67 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.4782, allocations: 128.1 kB / 0.8231 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.4783, allocations: 42.77 kB / 0.8231 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.4783, allocations: 99.78 kB / 0.8232 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.4784, allocations: 48.81 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.4785, allocations: 73.95 kB / 0.8233 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.4786, allocations: 330.7 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4787, allocations: 146.8 kB / 0.8238 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.4789, allocations: 215.1 kB / 0.824 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.4791, allocations: 244.7 kB / 0.8242 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.4791, allocations: 1.156 kB / 0.8242 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004531/0.4796, allocations: 425.8 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.4796, allocations: 63.2 kB / 0.8247 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4796, allocations: 2.75 kB / 0.8247 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4797, allocations: 2.844 kB / 0.8247 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.4797, allocations: 27.33 kB / 0.8247 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4798, allocations: 3.375 kB / 0.8247 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.48, allocations: 70.19 kB / 0.8248 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.48, allocations: 20.5 kB / 0.8248 GB, free: 12.23 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 0.0001287/0.4801, allocations: 146.5 kB / 0.8249 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4802, allocations: 16.08 kB / 0.825 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.4802, allocations: 16.39 kB / 0.825 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4802, allocations: 6.312 kB / 0.825 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4802, allocations: 5.094 kB / 0.825 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4802, allocations: 2.312 kB / 0.825 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.4808, allocations: 0.5757 MB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.4808, allocations: 1.188 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.4808, allocations: 7.75 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4808, allocations: 5.188 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4809, allocations: 10.83 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4809, allocations: 1.891 kB / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4809, allocations: 0 / 0.8256 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.4812, allocations: 437.6 kB / 0.826 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.4812, allocations: 16.16 kB / 0.826 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4813, allocations: 13.53 kB / 0.826 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.4814, allocations: 13.92 kB / 0.826 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.4814, allocations: 23.31 kB / 0.8261 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.4815, allocations: 13.95 kB / 0.8261 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.4815, allocations: 95.11 kB / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4815, allocations: 1.219 kB / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002697/0.4818, allocations: 57.7 kB / 0.8262 GB, free: 11.24 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.000667/0.4824, allocations: 0.969 MB / 0.8272 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.4829, allocations: 385.4 kB / 0.8275 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4829, allocations: 0 / 0.8275 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.483, allocations: 87.73 kB / 0.8276 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4833, allocations: 31.77 kB / 0.8276 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4855, allocations: 2.537 MB / 0.8301 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.4855, allocations: 88.97 kB / 0.8302 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.029e-05/0.4856, allocations: 19.48 kB / 0.8302 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.4857, allocations: 37.39 kB / 0.8303 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.4857, allocations: 0 / 0.8303 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.5069, allocations: 4.934 MB / 0.8351 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.345, allocations: 1.094 kB / 0.8351 GB, free: 6.824 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.191203813068569] Failed to read output from testmodel.py, exit status != 0: 7.424316675867885 7.440644431 6.963154253 Calling exit ...