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.0008122/0.0008122, allocations: 72.45 kB / 19.9 MB, free: 16 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.0008073/0.0008073, allocations: 165.9 kB / 23.18 MB, free: 1.383 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 0.8746/0.8746, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.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.698/0.698, allocations: 154.9 MB / 415 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.001373/0.001373, allocations: 63.91 kB / 0.6199 GB, free: 12.79 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4602, allocations: 102 MB / 0.7194 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001461/0.4616, allocations: 0.5728 MB / 0.72 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4631, allocations: 1.145 MB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.4631, allocations: 1.094 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.4632, allocations: 0 / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.4632, allocations: 9.625 kB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.4637, allocations: 122.9 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.4639, allocations: 82.3 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.464, allocations: 11.14 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.4641, allocations: 55.19 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.4642, allocations: 27.11 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.4642, allocations: 6.438 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.4643, allocations: 21.27 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.4643, allocations: 9.828 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.4644, allocations: 26.62 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.4646, allocations: 100.9 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4646, allocations: 1.734 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4646, allocations: 0 / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4646, allocations: 0 / 0.7216 GB, free: 22.02 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.0003824/0.4649, allocations: 295.9 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.465, allocations: 15.83 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.465, allocations: 12.86 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.857e-05/0.4651, allocations: 110.4 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.4651, allocations: 2.531 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4651, allocations: 5.375 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.4652, allocations: 60.59 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4652, allocations: 192 / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4652, allocations: 9.625 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4652, allocations: 3.938 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.4653, allocations: 4.141 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.4655, allocations: 234.7 kB / 0.7223 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.4656, allocations: 22.27 kB / 0.7223 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.4656, allocations: 8 kB / 0.7223 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.4656, allocations: 9.125 kB / 0.7223 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.4658, allocations: 87.98 kB / 0.7224 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4658, allocations: 0 / 0.7224 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.4659, allocations: 61.42 kB / 0.7225 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.466, allocations: 57.2 kB / 0.7225 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.282e-05/0.466, allocations: 104.5 kB / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.466, allocations: 28.7 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.4661, allocations: 88.19 kB / 0.7227 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-06/0.4661, allocations: 9.328 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.4661, allocations: 34.23 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.4662, allocations: 313.5 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.4662, allocations: 59.33 kB / 0.7231 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.4663, allocations: 77.38 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.91e-05/0.4664, allocations: 80.86 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4664, allocations: 0 / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001849/0.4665, allocations: 181.3 kB / 0.7235 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4666, allocations: 41.59 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4666, allocations: 0.9688 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4666, allocations: 1.703 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.695e-05/0.4666, allocations: 2.344 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4666, allocations: 0.6094 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.4671, allocations: 33.34 kB / 0.7235 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.4671, allocations: 5.766 kB / 0.7235 GB, free: 20.12 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 6.284e-05/0.4672, allocations: 127.3 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.4672, allocations: 6.469 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.4672, allocations: 6.188 kB / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4672, allocations: 0 / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4672, allocations: 1.641 kB / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4672, allocations: 0 / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.618e-05/0.4673, allocations: 105.9 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4673, allocations: 4.938 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.4673, allocations: 5.641 kB / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4673, allocations: 0 / 0.7238 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.4673, allocations: 6.016 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4673, allocations: 4 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4673, allocations: 5.312 kB / 0.7238 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.674e-05/0.4674, allocations: 86.27 kB / 0.7239 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.4674, allocations: 5.344 kB / 0.7239 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4674, allocations: 2.047 kB / 0.7239 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.4674, allocations: 0.7031 kB / 0.7239 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.4674, allocations: 7.734 kB / 0.7239 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.4674, allocations: 5.156 kB / 0.7239 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.4675, allocations: 81.89 kB / 0.724 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4675, allocations: 0 / 0.724 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001599/0.4676, allocations: 15.28 kB / 0.724 GB, free: 19.68 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 0.0001044/0.4677, allocations: 105.5 kB / 0.7241 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.4679, allocations: 136.9 kB / 0.7242 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4679, allocations: 0 / 0.7242 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.43e-05/0.4679, allocations: 12.56 kB / 0.7242 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.4681, allocations: 7.719 kB / 0.7243 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.4683, allocations: 154.9 kB / 0.7244 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.4684, allocations: 71.91 kB / 0.7245 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.4684, allocations: 10.66 kB / 0.7245 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4684, allocations: 0 / 0.7245 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.00229/0.4707, allocations: 0.9007 MB / 0.7254 GB, free: 19.17 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.563868993893266] Failed to read output from testmodel.py, exit status != 0: 0.4777062840294093 0.48654280600000005 0.020057688 Calling exit ...