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.000895/0.000895, allocations: 109.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.001383/0.001383, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9305/0.9305, 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.7974/0.7974, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0009388/0.0009388, allocations: 71.78 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5658, 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.001455/0.5673, allocations: 0.6393 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.5685, allocations: 1.188 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.5685, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.5685, allocations: 4.5 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.5686, allocations: 18.78 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.5691, allocations: 140.4 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.5693, allocations: 140.7 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.5693, allocations: 12.39 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.5694, allocations: 56.05 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.5695, allocations: 49.7 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.5696, allocations: 14.12 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.253e-05/0.5696, allocations: 29.81 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.5697, allocations: 19.31 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.5697, allocations: 48.89 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.5699, allocations: 132.5 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5699, allocations: 1.781 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5699, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5699, 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.0005037/0.5704, allocations: 344.5 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5705, allocations: 16.5 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.5705, allocations: 33.33 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.5705, allocations: 17.36 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.5708, allocations: 148 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.5709, allocations: 10.31 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.5709, allocations: 12.62 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.571, allocations: 91.11 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.571, allocations: 2.094 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5711, allocations: 1.031 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5711, allocations: 5.219 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.5711, allocations: 41.64 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.5716, allocations: 301.3 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5717, allocations: 74.66 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.5718, allocations: 35.67 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.5718, allocations: 2.406 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.572, allocations: 130.5 kB / 0.8214 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.572, allocations: 3.938 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003211/0.5724, allocations: 200.8 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.5724, allocations: 58.67 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.5725, allocations: 111.8 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5725, allocations: 38.19 kB / 0.8218 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.5725, allocations: 94.06 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.5726, allocations: 35.03 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.5726, allocations: 46.47 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.5727, allocations: 325.7 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.43e-05/0.5728, allocations: 85.8 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.5729, allocations: 116.7 kB / 0.8225 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.573, allocations: 131.6 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.573, allocations: 1.188 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002398/0.5733, allocations: 241.2 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.5733, allocations: 39.47 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5733, allocations: 1.312 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5733, allocations: 10.2 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.5734, allocations: 11 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5734, allocations: 1.25 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.5735, allocations: 43.89 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.5735, allocations: 8.875 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 8.495e-05/0.5736, allocations: 136.5 kB / 0.8231 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.5736, allocations: 10.05 kB / 0.8231 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.5736, allocations: 10.66 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.5736, allocations: 1.438 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5737, allocations: 0.7969 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5737, allocations: 0.8438 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.574, allocations: 405.8 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.574, allocations: 0.6562 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.574, allocations: 5.422 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.574, allocations: 0 / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.574, allocations: 4.234 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.574, allocations: 5.031 kB / 0.8235 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.574, allocations: 0.75 kB / 0.8235 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5742, allocations: 265.8 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.5742, allocations: 11.83 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5743, allocations: 4.312 kB / 0.8238 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.5743, allocations: 10.05 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.5744, allocations: 20.42 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5744, allocations: 11.34 kB / 0.8238 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.5744, allocations: 83.48 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5744, allocations: 0 / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002015/0.5746, allocations: 40.78 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.000446/0.5751, allocations: 0.8012 MB / 0.8247 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.5753, allocations: 213.3 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5753, allocations: 1.219 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.5754, allocations: 52.27 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.000217/0.5756, allocations: 18.41 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.001388/0.577, allocations: 1.83 MB / 0.8268 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.46e-05/0.577, allocations: 73.77 kB / 0.8269 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.5771, allocations: 9.547 kB / 0.8269 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.5771, allocations: 22.8 kB / 0.8269 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5771, allocations: 4 kB / 0.8269 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.5989, allocations: 3.439 MB / 0.8303 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.463, allocations: 12.58 kB / 0.8303 GB, free: 9.031 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.38002622174099] Failed to read output from testmodel.py, exit status != 0: 7.540704840794206 7.550106807 6.978103788 Calling exit ...