Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0007757/0.0007757, 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.001051/0.001051, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.931/0.931, allocations: 230.6 MB / 256 MB, free: 9.621 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.7605/0.7605, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.TimerNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001055/0.001055, allocations: 70.64 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4998, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001603/0.5014, allocations: 0.6508 MB / 0.8184 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.5026, allocations: 1.181 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.5026, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.5026, allocations: 5.203 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.5027, allocations: 14.94 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.5031, allocations: 140 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.5033, allocations: 148.2 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.5034, allocations: 4.016 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.5034, allocations: 54.41 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.5036, allocations: 52.72 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.5036, allocations: 13.53 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.5037, allocations: 25.94 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.5037, allocations: 20.94 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.5038, allocations: 55.06 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.504, allocations: 133.3 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.504, allocations: 3.938 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.627e-06/0.504, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.504, allocations: 0 / 0.8202 GB, free: 15.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006033/0.5046, allocations: 340 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5047, allocations: 9.531 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.5047, allocations: 39.39 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.5047, allocations: 13.02 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.5051, allocations: 156.9 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.5051, allocations: 7.125 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.5051, allocations: 16.41 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.5053, allocations: 90.27 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5053, allocations: 1.688 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5053, allocations: 5.594 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5053, allocations: 3.625 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.5054, allocations: 39.17 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.5058, allocations: 303 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.506, allocations: 82.98 kB / 0.8213 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.506, allocations: 30.31 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.506, allocations: 0 / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.5062, allocations: 124.8 kB / 0.8214 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.5062, allocations: 0 / 0.8214 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003653/0.5066, allocations: 207.3 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.5066, allocations: 59.52 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.5067, allocations: 119.9 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5067, allocations: 34.06 kB / 0.8218 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.5068, allocations: 93.08 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.5068, allocations: 31.69 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.5069, allocations: 45.95 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.507, allocations: 324.2 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5071, allocations: 82.23 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.5073, allocations: 115.6 kB / 0.8225 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5074, allocations: 146.2 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5074, allocations: 1.125 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003034/0.5077, allocations: 239 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.5077, allocations: 34.36 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5077, allocations: 1.156 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5078, allocations: 3.375 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.5078, allocations: 13.62 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5078, allocations: 6.672 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.508, allocations: 39.7 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.508, allocations: 9.328 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001114/0.5081, allocations: 133.2 kB / 0.8231 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.5081, allocations: 10.41 kB / 0.8231 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.5082, allocations: 10.53 kB / 0.8231 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5082, allocations: 1.188 kB / 0.8231 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5082, allocations: 4.844 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5082, allocations: 0.75 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.5085, allocations: 405.8 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5085, allocations: 0 / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.5085, allocations: 7 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5085, allocations: 1.188 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5086, allocations: 9.391 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5086, allocations: 0 / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5086, allocations: 1.25 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.5088, allocations: 260.9 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.5088, allocations: 10.95 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5088, allocations: 14.62 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.5088, allocations: 3.438 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.5089, allocations: 20.94 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5089, allocations: 6.609 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.5089, allocations: 91.03 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5089, allocations: 3.938 kB / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001891/0.5091, allocations: 37.58 kB / 0.824 GB, free: 12.55 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000455/0.5096, allocations: 0.806 MB / 0.8247 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.5099, allocations: 209.8 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5099, allocations: 1.438 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.5099, allocations: 56.14 kB / 0.825 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.5101, allocations: 22.56 kB / 0.825 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5117, allocations: 1.82 MB / 0.8268 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.5117, allocations: 75.47 kB / 0.8269 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.5118, allocations: 8.469 kB / 0.8269 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.5118, allocations: 24.78 kB / 0.8269 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5118, allocations: 0 / 0.8269 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.5279, allocations: 3.452 MB / 0.8303 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/7.223, allocations: 9.406 kB / 0.8303 GB, free: 9.016 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.126104352995753] Failed to read output from testmodel.py, exit status != 0: 7.311300065834075 7.324050077 6.817941918 Calling exit ...