Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0007294/0.0007294, allocations: 115 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.0007662/0.0007662, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8844/0.8844, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.7405/0.7405, allocations: 203.8 MB / 0.5049 GB, free: 0.6445 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [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.0008619/0.0008619, allocations: 63.89 kB / 0.7195 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4357, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001387/0.4371, allocations: 0.7258 MB / 0.8198 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4382, allocations: 1.302 MB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.4383, allocations: 1.656 kB / 0.8211 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.4383, allocations: 5.516 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.4384, allocations: 25.03 kB / 0.8211 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.4389, allocations: 249 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.4391, allocations: 252.7 kB / 0.8216 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.4392, allocations: 19.36 kB / 0.8216 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4393, allocations: 92.88 kB / 0.8217 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.4395, allocations: 104.6 kB / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.4395, allocations: 23.53 kB / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.4396, allocations: 37.16 kB / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.4396, allocations: 33.3 kB / 0.8219 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.4397, allocations: 89.95 kB / 0.822 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.44, allocations: 224.3 kB / 0.8222 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.44, allocations: 0.7969 kB / 0.8222 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.44, allocations: 0 / 0.8222 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.44, allocations: 1.438 kB / 0.8222 GB, free: 23.32 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004993/0.4405, allocations: 435.6 kB / 0.8226 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4405, allocations: 11.12 kB / 0.8226 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.4406, allocations: 27.52 kB / 0.8226 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.4409, allocations: 185.5 kB / 0.8228 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.4409, allocations: 14.44 kB / 0.8228 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.441, allocations: 23 kB / 0.8228 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4411, allocations: 137.2 kB / 0.823 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.4411, allocations: 3.938 kB / 0.823 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4412, allocations: 7.531 kB / 0.823 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4412, allocations: 1.844 kB / 0.823 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.4413, allocations: 59.84 kB / 0.823 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.4418, allocations: 496.4 kB / 0.8235 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.442, allocations: 144.2 kB / 0.8237 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.442, allocations: 53.14 kB / 0.8237 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.4421, allocations: 1.531 kB / 0.8237 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.4424, allocations: 204.1 kB / 0.8239 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.4424, allocations: 3.938 kB / 0.8239 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.0004096/0.4428, allocations: 317.1 kB / 0.8242 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.4428, allocations: 90.61 kB / 0.8243 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.4429, allocations: 127.8 kB / 0.8244 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.4429, allocations: 37.39 kB / 0.8245 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.4429, allocations: 100.4 kB / 0.8246 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.443, allocations: 51.39 kB / 0.8246 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.443, allocations: 74.52 kB / 0.8247 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.4431, allocations: 322.1 kB / 0.825 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4432, allocations: 90.61 kB / 0.8251 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.4433, allocations: 152.5 kB / 0.8252 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.4435, allocations: 245.6 kB / 0.8254 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4435, allocations: 1.094 kB / 0.8254 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003488/0.4439, allocations: 369.2 kB / 0.8258 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4439, allocations: 63.91 kB / 0.8259 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4439, allocations: 1.938 kB / 0.8259 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4439, allocations: 7 kB / 0.8259 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.444, allocations: 23.2 kB / 0.8259 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.444, allocations: 8.844 kB / 0.8259 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.4441, allocations: 68.86 kB / 0.826 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.4442, allocations: 20.56 kB / 0.826 GB, free: 20.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 7.538e-05/0.4442, allocations: 138.3 kB / 0.8261 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.4443, allocations: 17.94 kB / 0.8261 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.4443, allocations: 15.27 kB / 0.8261 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4443, allocations: 6.188 kB / 0.8262 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4443, allocations: 9.797 kB / 0.8262 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4443, allocations: 6.562 kB / 0.8262 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.4447, allocations: 0.5747 MB / 0.8267 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4447, allocations: 1.219 kB / 0.8267 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.4447, allocations: 11.83 kB / 0.8267 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4447, allocations: 5.844 kB / 0.8267 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4447, allocations: 10.41 kB / 0.8268 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4447, allocations: 1.891 kB / 0.8268 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4447, allocations: 80 / 0.8268 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.445, allocations: 425.2 kB / 0.8272 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.445, allocations: 18.09 kB / 0.8272 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.445, allocations: 13.59 kB / 0.8272 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.4451, allocations: 9.594 kB / 0.8272 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.4451, allocations: 27.45 kB / 0.8272 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4451, allocations: 20.94 kB / 0.8273 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.4452, allocations: 93.91 kB / 0.8273 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4452, allocations: 4 kB / 0.8273 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002339/0.4454, allocations: 57.55 kB / 0.8274 GB, free: 19.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001003/0.4455, allocations: 110.8 kB / 0.8275 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.4458, allocations: 325 kB / 0.8278 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4458, allocations: 0 / 0.8278 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.893e-05/0.4459, allocations: 88.08 kB / 0.8279 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.4461, allocations: 32.75 kB / 0.8279 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.4465, allocations: 299.5 kB / 0.8282 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.4466, allocations: 0.7069 MB / 0.8289 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.4466, allocations: 24.06 kB / 0.8289 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4466, allocations: 0 / 0.8289 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.003151/0.4498, allocations: 2.267 MB / 0.8311 GB, free: 18.14 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.458239546045661] Failed to read output from testmodel.py, exit status != 0: 0.45487523707561195 0.46245141500000003 0.020833867000000002 Calling exit ...