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.0006874/0.0006874, allocations: 100.4 kB / 19.71 MB, free: 448 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.0006968/0.0006968, allocations: 212.1 kB / 23 MB, free: 2.973 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.8537/0.8537, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7393/0.7393, allocations: 203.8 MB / 0.5049 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: 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.0009271/0.0009271, allocations: 71 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4491, allocations: 102 MB / 0.819 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001287/0.4504, allocations: 0.575 MB / 0.8196 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.4513, allocations: 1.139 MB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.4513, allocations: 0 / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.4514, allocations: 4.922 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.4514, allocations: 5.266 kB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.4518, allocations: 121.4 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.4519, allocations: 89.34 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.452, allocations: 1.172 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.4521, allocations: 38.52 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.4522, allocations: 33.72 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4522, allocations: 7.344 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.4522, allocations: 20.81 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.4523, allocations: 3.469 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.4523, allocations: 29.92 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.4525, allocations: 81.06 kB / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4525, allocations: 0 / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4525, allocations: 0.75 kB / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4525, allocations: 0 / 0.8211 GB, free: 15.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003833/0.4529, allocations: 303 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4529, allocations: 9.156 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4529, allocations: 15.86 kB / 0.8214 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.453, allocations: 107.2 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.453, allocations: 3.438 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.453, allocations: 5.25 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.146e-05/0.4531, allocations: 64.59 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4531, allocations: 3.938 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4531, allocations: 3.172 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4532, allocations: 3.938 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.4532, allocations: 2.516 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.4535, allocations: 224 kB / 0.8218 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/0.4535, allocations: 26.47 kB / 0.8218 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.4535, allocations: 15.48 kB / 0.8218 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.4535, allocations: 0 / 0.8218 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.4536, allocations: 84.25 kB / 0.8219 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4537, allocations: 1.562 kB / 0.8219 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001656/0.4538, allocations: 72.09 kB / 0.822 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.4538, allocations: 53.45 kB / 0.822 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.4539, allocations: 104.4 kB / 0.8221 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4539, allocations: 29.77 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.454, allocations: 92.95 kB / 0.8223 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.454, allocations: 3.953 kB / 0.8223 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.454, allocations: 28.8 kB / 0.8223 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.4541, allocations: 313.9 kB / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.4541, allocations: 60.09 kB / 0.8226 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.4542, allocations: 78.03 kB / 0.8227 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.291e-05/0.4543, allocations: 83.25 kB / 0.8228 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4543, allocations: 1.641 kB / 0.8228 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001894/0.4545, allocations: 180.3 kB / 0.823 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4545, allocations: 37.77 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4545, allocations: 3.219 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4545, allocations: 0.6562 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.4545, allocations: 5.844 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4546, allocations: 0.7969 kB / 0.823 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4547, allocations: 34 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4547, allocations: 3.688 kB / 0.8231 GB, free: 14.07 MB / 0.6198 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 0.0001405/0.4548, allocations: 120.7 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.4548, allocations: 11.56 kB / 0.8232 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.4549, allocations: 4.891 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4549, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4549, allocations: 0.9844 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4549, allocations: 1.625 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.347e-05/0.4549, allocations: 104.9 kB / 0.8233 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4549, allocations: 7.406 kB / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-06/0.455, allocations: 0.8906 kB / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.455, allocations: 0 / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.455, allocations: 0 / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.455, allocations: 5.078 kB / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.455, allocations: 0 / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.924e-05/0.455, allocations: 82.27 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.455, allocations: 10.22 kB / 0.8234 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.4551, allocations: 0.9375 kB / 0.8234 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.4551, allocations: 5.75 kB / 0.8234 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.4551, allocations: 4.828 kB / 0.8234 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4551, allocations: 1.125 kB / 0.8234 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.4551, allocations: 84.16 kB / 0.8235 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4551, allocations: 0 / 0.8235 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001392/0.4553, allocations: 20.06 kB / 0.8235 GB, free: 13.63 MB / 0.6198 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.792e-05/0.4554, allocations: 107.9 kB / 0.8236 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.4555, allocations: 138.6 kB / 0.8237 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4555, allocations: 0 / 0.8237 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.4556, allocations: 15.61 kB / 0.8238 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.4557, allocations: 11.5 kB / 0.8238 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.456, allocations: 148.5 kB / 0.8239 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.456, allocations: 70.14 kB / 0.824 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.456, allocations: 10.66 kB / 0.824 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.456, allocations: 0 / 0.824 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.001994/0.458, allocations: 0.9028 MB / 0.8249 GB, free: 13.09 MB / 0.6198 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.2693561390042305] Failed to read output from testmodel.py, exit status != 0: 0.4632433447986841 0.472258273 0.01794151 Calling exit ...