Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0007557/0.0007557, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.0007832/0.0007832, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.8907/0.8907, allocations: 230.6 MB / 256.8 MB, free: 9.797 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.7654/0.7654, allocations: 203.8 MB / 0.5049 GB, free: 10.72 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.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [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.001299/0.001299, allocations: 66.55 kB / 0.7195 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4651, allocations: 102 MB / 0.8191 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001375/0.4665, allocations: 0.832 MB / 0.82 GB, free: 1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006066/0.4671, allocations: 0.9266 MB / 0.8209 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.4671, allocations: 1.969 kB / 0.8209 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.4672, allocations: 8.578 kB / 0.8209 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.4672, allocations: 27.75 kB / 0.8209 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.4674, allocations: 43.48 kB / 0.8209 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4675, allocations: 120 kB / 0.821 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.4676, allocations: 26.91 kB / 0.8211 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.4677, allocations: 55.47 kB / 0.8211 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.4678, allocations: 57.83 kB / 0.8212 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.4678, allocations: 8.812 kB / 0.8212 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.569e-05/0.4678, allocations: 21.84 kB / 0.8212 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.4679, allocations: 23.77 kB / 0.8212 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.4679, allocations: 47.06 kB / 0.8213 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.468, allocations: 124.5 kB / 0.8214 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.468, allocations: 1.281 kB / 0.8214 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.468, allocations: 0 / 0.8214 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.468, allocations: 0 / 0.8214 GB, free: 20 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004306/0.4685, allocations: 371.3 kB / 0.8218 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.4685, allocations: 9.312 kB / 0.8218 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.4686, allocations: 33.62 kB / 0.8218 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.4689, allocations: 201.4 kB / 0.822 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4689, allocations: 9.656 kB / 0.822 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4689, allocations: 7.438 kB / 0.822 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.4692, allocations: 110.7 kB / 0.8221 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.4692, allocations: 8.484 kB / 0.8221 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4693, allocations: 4 kB / 0.8221 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4693, allocations: 5.781 kB / 0.8221 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.4694, allocations: 73.48 kB / 0.8222 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.4698, allocations: 489 kB / 0.8227 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4699, allocations: 108.1 kB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.47, allocations: 56.64 kB / 0.8228 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.47, allocations: 0 / 0.8228 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.47, allocations: 34.55 kB / 0.8229 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 7.01e-07/0.47, allocations: 0 / 0.8229 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003208/0.4704, allocations: 168.5 kB / 0.823 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.4704, allocations: 105.9 kB / 0.8231 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.4705, allocations: 142.5 kB / 0.8232 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4705, allocations: 32.02 kB / 0.8233 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4705, allocations: 105.7 kB / 0.8234 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4706, allocations: 27.39 kB / 0.8234 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.4706, allocations: 33.88 kB / 0.8234 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.4707, allocations: 328.2 kB / 0.8238 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.4707, allocations: 39.86 kB / 0.8238 GB, free: 14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.4708, allocations: 92.64 kB / 0.8239 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.471, allocations: 88.22 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.471, allocations: 0 / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000191/0.4712, allocations: 142.1 kB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4712, allocations: 9.906 kB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4712, allocations: 0 / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.4712, allocations: 2.812 kB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.4713, allocations: 18.42 kB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4713, allocations: 0.8906 kB / 0.8241 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.4713, allocations: 23.31 kB / 0.8242 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4713, allocations: 3.156 kB / 0.8242 GB, free: 13.82 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: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.251e-05/0.4714, allocations: 133.3 kB / 0.8243 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.4714, allocations: 13.98 kB / 0.8243 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.4716, allocations: 92.47 kB / 0.8244 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4716, allocations: 1.188 kB / 0.8244 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4716, allocations: 1.812 kB / 0.8244 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4716, allocations: 1.062 kB / 0.8244 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.4718, allocations: 174.1 kB / 0.8246 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4718, allocations: 4.734 kB / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.4718, allocations: 21.77 kB / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4718, allocations: 2.188 kB / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4718, allocations: 6.766 kB / 0.8246 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4718, allocations: 5.125 kB / 0.8246 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4718, allocations: 1.797 kB / 0.8246 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.4721, allocations: 377.2 kB / 0.825 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.4721, allocations: 11.75 kB / 0.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4721, allocations: 3.188 kB / 0.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4722, allocations: 18.23 kB / 0.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.4723, allocations: 23.83 kB / 0.825 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4723, allocations: 6.984 kB / 0.825 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.4723, allocations: 117.2 kB / 0.8251 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4723, allocations: 1.531 kB / 0.8251 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001923/0.4725, allocations: 16.59 kB / 0.8251 GB, free: 13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.04e-05/0.4726, allocations: 104.5 kB / 0.8252 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4728, allocations: 104 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4728, allocations: 0 / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.4729, allocations: 50.3 kB / 0.8254 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.4732, allocations: 14.67 kB / 0.8254 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.4735, allocations: 230 kB / 0.8256 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4736, allocations: 0.7002 MB / 0.8263 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.4737, allocations: 22.05 kB / 0.8263 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.4737, allocations: 0 / 0.8263 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.002415/0.4761, allocations: 1.515 MB / 0.8278 GB, free: 11.81 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.472192249959335] Failed to read output from testmodel.py, exit status != 0: 0.4821240941528231 0.490221202 0.020346491 Calling exit ...