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.0007554/0.0007554, allocations: 109.3 kB / 18.93 MB, free: 1.27 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.0008562/0.0008562, allocations: 213.7 kB / 22.25 MB, free: 3.699 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 1.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.805 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.8203/0.8203, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001324/0.001324, allocations: 66.78 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5817, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002006/0.5837, allocations: 0.6542 MB / 0.8185 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.5853, allocations: 1.201 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.5854, allocations: 0 / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.5854, allocations: 4.5 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.5855, allocations: 15.08 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.5862, allocations: 139.5 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.5865, allocations: 146.6 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.5866, allocations: 11.97 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.5867, allocations: 58.98 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.5868, allocations: 53.47 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.5869, allocations: 14.16 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.5869, allocations: 31.62 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.587, allocations: 23.14 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.5871, allocations: 53.88 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.5873, allocations: 138.7 kB / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5873, allocations: 0 / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5873, allocations: 0 / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.5873, allocations: 0.6562 kB / 0.8204 GB, free: 15.66 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.0006433/0.5879, allocations: 340.5 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.588, allocations: 8.469 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.5881, allocations: 44.14 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.5881, allocations: 13.61 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.5885, allocations: 150.7 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.5885, allocations: 7.812 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.5885, allocations: 14.36 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.5887, allocations: 85.16 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5888, allocations: 7.938 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.5888, allocations: 1.266 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5888, allocations: 2.547 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.5889, allocations: 39.67 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.5895, allocations: 327.8 kB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.5896, allocations: 80.19 kB / 0.8214 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.5897, allocations: 30.92 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.5897, allocations: 7.484 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.59, allocations: 128.2 kB / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.59, allocations: 0 / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000342/0.5903, allocations: 202.4 kB / 0.8218 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.5904, allocations: 55.98 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.5905, allocations: 114.5 kB / 0.8219 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.5905, allocations: 34.48 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.5906, allocations: 92.39 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.5906, allocations: 39.98 kB / 0.8221 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.5906, allocations: 50.02 kB / 0.8221 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.5907, allocations: 324.2 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.5908, allocations: 50.61 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.5909, allocations: 85.05 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.5911, allocations: 140.9 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5911, allocations: 1.656 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002766/0.5913, allocations: 207.6 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.5914, allocations: 38.73 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5914, allocations: 1.062 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5914, allocations: 2.5 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.5915, allocations: 13.84 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.5915, allocations: 1.812 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.5916, allocations: 39.83 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5916, allocations: 9.547 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.663e-05/0.5917, allocations: 137.4 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.5917, allocations: 10.16 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.5918, allocations: 9.438 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.5918, allocations: 6.031 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5918, allocations: 1 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5918, allocations: 1.031 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.5921, allocations: 401.8 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5921, allocations: 1.094 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.5921, allocations: 6.344 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5921, allocations: 6.969 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5921, allocations: 4 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5921, allocations: 5.281 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5921, allocations: 3.141 kB / 0.8236 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.5923, allocations: 257.7 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.5924, allocations: 11.3 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5924, allocations: 13.7 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.5924, allocations: 9.844 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5925, allocations: 19.03 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.5925, allocations: 12.03 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.5925, allocations: 90.08 kB / 0.824 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5925, allocations: 1.312 kB / 0.824 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002057/0.5927, allocations: 37.38 kB / 0.824 GB, free: 12.79 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.0004655/0.5932, allocations: 0.796 MB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.5935, allocations: 172.7 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5935, allocations: 1.438 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.5936, allocations: 50.38 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.0002113/0.5938, allocations: 23.56 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.5953, allocations: 1.699 MB / 0.8267 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5955, allocations: 0.697 MB / 0.8274 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.5955, allocations: 8.109 kB / 0.8274 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.5955, allocations: 23.88 kB / 0.8274 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5955, allocations: 0 / 0.8274 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.6145, allocations: 2.941 MB / 0.8303 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.386/7, allocations: 5.641 kB / 0.8303 GB, free: 9.285 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.151091404026374] Failed to read output from testmodel.py, exit status != 0: 7.080510118976235 7.093533042 6.503756729 Calling exit ...