Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001028/0.001028, 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.0008297/0.0008297, 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.8422/0.8422, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6933/0.6933, allocations: 154.7 MB / 414.7 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008981/0.0008981, allocations: 63.91 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4562/0.4571, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001358/0.4584, allocations: 0.5777 MB / 0.7196 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4594, allocations: 1.145 MB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.4595, allocations: 0 / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.4595, allocations: 0 / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.4596, allocations: 6.453 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.4599, allocations: 119.7 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.4601, allocations: 86.31 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.4602, allocations: 11 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.4602, allocations: 52.06 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.4603, allocations: 25.44 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.4603, allocations: 7.969 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.4604, allocations: 24.55 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.4604, allocations: 6.438 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.4605, allocations: 22.36 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.4606, allocations: 101 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4606, allocations: 1.281 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4606, allocations: 0 / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4606, allocations: 0 / 0.7212 GB, free: 22.23 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.0003551/0.461, allocations: 303.9 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.461, allocations: 13.44 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.4611, allocations: 9.141 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.464e-05/0.4611, allocations: 110.9 kB / 0.7216 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4611, allocations: 3.031 kB / 0.7216 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4612, allocations: 8.438 kB / 0.7216 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.315e-05/0.4612, allocations: 65.06 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4612, allocations: 0.75 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.4613, allocations: 5.156 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4613, allocations: 0 / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.4613, allocations: 8.031 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.4615, allocations: 219 kB / 0.7219 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.4616, allocations: 30.84 kB / 0.7219 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.133e-05/0.4616, allocations: 7.109 kB / 0.7219 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.4616, allocations: 3.938 kB / 0.7219 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.4617, allocations: 85.06 kB / 0.722 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4617, allocations: 0 / 0.722 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001557/0.4619, allocations: 69.47 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.4619, allocations: 53.19 kB / 0.7221 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.4619, allocations: 104.3 kB / 0.7222 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.462, allocations: 32.64 kB / 0.7223 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.462, allocations: 88.09 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.462, allocations: 6.031 kB / 0.7224 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.462, allocations: 29.61 kB / 0.7224 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.1e-05/0.4621, allocations: 317.6 kB / 0.7227 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.4621, allocations: 60.83 kB / 0.7228 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.4622, allocations: 80.86 kB / 0.7228 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.4623, allocations: 80.88 kB / 0.7229 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4623, allocations: 0 / 0.7229 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001739/0.4624, allocations: 188.8 kB / 0.7231 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4625, allocations: 34.88 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4625, allocations: 0 / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4625, allocations: 1.672 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.594e-05/0.4625, allocations: 1.922 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4625, allocations: 1.25 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.4627, allocations: 32.2 kB / 0.7232 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.4627, allocations: 10.84 kB / 0.7232 GB, free: 20.33 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 5.07e-05/0.4627, allocations: 117.1 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.4627, allocations: 6.062 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.4628, allocations: 8.797 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4628, allocations: 0.9375 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.4628, allocations: 1.641 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4628, allocations: 3.938 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.286e-05/0.4628, allocations: 106.3 kB / 0.7234 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4628, allocations: 1.031 kB / 0.7234 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-06/0.4628, allocations: 7.875 kB / 0.7234 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4628, allocations: 2.031 kB / 0.7234 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.4628, allocations: 1.125 kB / 0.7234 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4628, allocations: 7.938 kB / 0.7234 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4628, allocations: 0.75 kB / 0.7234 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/0.4629, allocations: 82.58 kB / 0.7235 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.4629, allocations: 5.859 kB / 0.7235 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.4629, allocations: 1.609 kB / 0.7235 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.463, allocations: 1.094 kB / 0.7235 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.463, allocations: 2.281 kB / 0.7235 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.463, allocations: 2.5 kB / 0.7235 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.463, allocations: 89.91 kB / 0.7236 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.463, allocations: 0 / 0.7236 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001422/0.4631, allocations: 15.25 kB / 0.7236 GB, free: 19.89 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 9.835e-05/0.4632, allocations: 105.2 kB / 0.7237 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.4634, allocations: 136.7 kB / 0.7238 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4634, allocations: 1.156 kB / 0.7238 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.4634, allocations: 11.27 kB / 0.7239 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.4636, allocations: 14.45 kB / 0.7239 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.4638, allocations: 155.3 kB / 0.724 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.4639, allocations: 66.58 kB / 0.7241 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.4639, allocations: 11.2 kB / 0.7241 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.4639, allocations: 0 / 0.7241 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.001989/0.4659, allocations: 0.9014 MB / 0.725 GB, free: 19.38 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.514624744886532] Failed to read output from testmodel.py, exit status != 0: 0.47132195392623544 0.48026442300000005 0.017813018 Calling exit ...