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.0008122/0.0008122, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009049/0.0009049, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9915/0.9915, allocations: 230.6 MB / 256 MB, free: 9.641 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.8154/0.8154, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009213/0.0009213, allocations: 66.81 kB / 0.7183 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5954, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001479/0.5969, allocations: 0.6561 MB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.5981, allocations: 1.203 MB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.5981, allocations: 5.156 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.5981, allocations: 4.688 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.5982, allocations: 16.39 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.5987, allocations: 138 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.5989, allocations: 142.6 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.599, allocations: 7.219 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.5991, allocations: 61.39 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.5992, allocations: 55.28 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.5993, allocations: 13.5 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.5993, allocations: 32.12 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.5994, allocations: 20.64 kB / 0.8202 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.5994, allocations: 51.03 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.5997, allocations: 136.3 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5997, allocations: 0 / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5997, allocations: 2.375 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.088e-06/0.5997, allocations: 0 / 0.8203 GB, free: 15.67 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.0005415/0.6002, allocations: 348.2 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6003, allocations: 9.25 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.6003, allocations: 39.89 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.6004, allocations: 16.98 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.6007, allocations: 150.4 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.6007, allocations: 6.125 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.6007, allocations: 9.875 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.6009, allocations: 87.69 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6009, allocations: 1.156 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.6009, allocations: 3 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6009, allocations: 1.375 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.601, allocations: 47.69 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.6014, allocations: 329.8 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.6016, allocations: 77.95 kB / 0.8214 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.6016, allocations: 30.62 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.6016, allocations: 3.375 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.6019, allocations: 130.3 kB / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.013e-06/0.6019, allocations: 0 / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003172/0.6022, allocations: 196.8 kB / 0.8218 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6022, allocations: 59.36 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.6023, allocations: 123.5 kB / 0.8219 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.6023, allocations: 39.98 kB / 0.822 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.6024, allocations: 87.09 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.6024, allocations: 34.73 kB / 0.8221 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.6025, allocations: 46.64 kB / 0.8221 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.6026, allocations: 323.5 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.6026, allocations: 50.8 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.6027, allocations: 88.73 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.6029, allocations: 137.1 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6029, allocations: 0 / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002659/0.6032, allocations: 213.7 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.6032, allocations: 42.08 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6032, allocations: 0 / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6032, allocations: 2.062 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.6033, allocations: 7.719 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6033, allocations: 6.312 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.6034, allocations: 43.12 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.6034, allocations: 6.562 kB / 0.823 GB, free: 13.57 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 9.827e-05/0.6035, allocations: 135.2 kB / 0.8232 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.6036, allocations: 11.75 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.6036, allocations: 8.438 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6036, allocations: 4.797 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.6036, allocations: 1.531 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6036, allocations: 0 / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.6039, allocations: 403.8 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6039, allocations: 4.938 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.604, allocations: 9.109 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.604, allocations: 1 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.604, allocations: 7.391 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.604, allocations: 1.219 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.604, allocations: 0 / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.6042, allocations: 264.4 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.6042, allocations: 7.984 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.6042, allocations: 5.234 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.6043, allocations: 17.86 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.6043, allocations: 15.92 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6043, allocations: 11.28 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.6044, allocations: 86.97 kB / 0.824 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6044, allocations: 0 / 0.824 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001931/0.6046, allocations: 33.97 kB / 0.824 GB, free: 12.81 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.0004607/0.605, allocations: 0.8096 MB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.6053, allocations: 168.2 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6053, allocations: 0 / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.6053, allocations: 56.41 kB / 0.825 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.6056, allocations: 18.98 kB / 0.825 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.6072, allocations: 1.695 MB / 0.8267 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.6074, allocations: 0.6932 MB / 0.8274 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.6074, allocations: 8.797 kB / 0.8274 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.6075, allocations: 23.27 kB / 0.8274 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.6075, allocations: 1.062 kB / 0.8274 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.631, allocations: 2.946 MB / 0.8303 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.252, allocations: 3.859 kB / 0.8303 GB, free: 9.297 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 & /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.24254133994691] Failed to read output from testmodel.py, exit status != 0: 7.328961475053802 7.344836204 6.74246293 Calling exit ...