Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009409/0.0009409, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.001172/0.001172, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8553/0.8553, allocations: 230.6 MB / 256.8 MB, free: 3.457 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.739/0.739, allocations: 203.8 MB / 0.5049 GB, free: 0.7617 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: translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [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.0008409/0.0008409, allocations: 63.89 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4466, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001353/0.448, allocations: 0.5914 MB / 0.8196 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.449, allocations: 1.152 MB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.449, allocations: 0.875 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.4491, allocations: 1.875 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.4491, allocations: 10.5 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.4495, allocations: 118.9 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.4497, allocations: 81.89 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.4498, allocations: 13.16 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.4498, allocations: 37.27 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.4499, allocations: 33.97 kB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.4499, allocations: 7.469 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.45, allocations: 22.89 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.45, allocations: 2.438 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.4501, allocations: 30.86 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.4502, allocations: 86.48 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4502, allocations: 0.7812 kB / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4502, allocations: 0 / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4503, allocations: 0 / 0.8212 GB, free: 23.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000353/0.4506, allocations: 300.9 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4506, allocations: 10.09 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4507, allocations: 11.89 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.604e-05/0.4508, allocations: 104.7 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4508, allocations: 3.719 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.4508, allocations: 5.969 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.4509, allocations: 43.39 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4509, allocations: 192 / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4509, allocations: 5.656 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4509, allocations: 5.062 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.4509, allocations: 4.469 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.4512, allocations: 258.5 kB / 0.8219 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.947e-05/0.4512, allocations: 28.84 kB / 0.8219 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.4513, allocations: 11.81 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.4513, allocations: 0.5625 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.4514, allocations: 62.58 kB / 0.822 GB, free: 23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4514, allocations: 3.469 kB / 0.822 GB, free: 23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001627/0.4515, allocations: 60.2 kB / 0.8221 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.4516, allocations: 57.73 kB / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.4516, allocations: 103.9 kB / 0.8222 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4516, allocations: 29.05 kB / 0.8223 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.4517, allocations: 86.66 kB / 0.8223 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.4517, allocations: 7.203 kB / 0.8223 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.4517, allocations: 32.89 kB / 0.8224 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.4518, allocations: 317.3 kB / 0.8227 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.4518, allocations: 27.12 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.4519, allocations: 45.66 kB / 0.8227 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.4519, allocations: 87.83 kB / 0.8228 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4519, allocations: 7.5 kB / 0.8228 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000169/0.4521, allocations: 152.3 kB / 0.823 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4521, allocations: 36.05 kB / 0.823 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4521, allocations: 1.531 kB / 0.823 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4521, allocations: 0.5625 kB / 0.823 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.575e-05/0.4522, allocations: 1.969 kB / 0.823 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4522, allocations: 1.188 kB / 0.823 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.4523, allocations: 32.73 kB / 0.8231 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4523, allocations: 5.766 kB / 0.8231 GB, free: 22.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 4.603e-05/0.4524, allocations: 115.9 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.4524, allocations: 3 kB / 0.8232 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.4524, allocations: 10.41 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4524, allocations: 0 / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4524, allocations: 1.25 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4524, allocations: 5.078 kB / 0.8232 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.538e-05/0.4525, allocations: 140.2 kB / 0.8233 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.4525, allocations: 0 / 0.8233 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.4525, allocations: 5.938 kB / 0.8233 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.4525, allocations: 3.938 kB / 0.8233 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4525, allocations: 2.219 kB / 0.8233 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4525, allocations: 1.125 kB / 0.8233 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4525, allocations: 0 / 0.8233 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.357e-05/0.4525, allocations: 83.45 kB / 0.8234 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.4525, allocations: 6.359 kB / 0.8234 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.4525, allocations: 2.359 kB / 0.8234 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.4526, allocations: 0 / 0.8234 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.4526, allocations: 3.734 kB / 0.8234 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.4526, allocations: 5.219 kB / 0.8234 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.875e-05/0.4526, allocations: 81.91 kB / 0.8235 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4526, allocations: 0.9375 kB / 0.8235 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001367/0.4527, allocations: 15.84 kB / 0.8235 GB, free: 21.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.551e-05/0.4528, allocations: 107.7 kB / 0.8236 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.453, allocations: 109.9 kB / 0.8237 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.453, allocations: 0 / 0.8237 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.453, allocations: 8.328 kB / 0.8237 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.4532, allocations: 14.19 kB / 0.8238 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.4534, allocations: 148 kB / 0.8239 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.593e-05/0.4534, allocations: 0.6829 MB / 0.8246 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.4535, allocations: 9.531 kB / 0.8246 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.4535, allocations: 3.938 kB / 0.8246 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.002195/0.4557, allocations: 0.8926 MB / 0.8254 GB, free: 20.49 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.417165958089754] Failed to read output from testmodel.py, exit status != 0: 0.46076901187188923 0.468918374 0.016726586 Calling exit ...