Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.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.0007493/0.0007493, allocations: 115 kB / 19.7 MB, free: 0.5312 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.0007984/0.0007984, allocations: 203.2 kB / 23 MB, free: 3.129 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.8976/0.8976, allocations: 230.6 MB / 256.8 MB, free: 3.551 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.767/0.767, allocations: 203.8 MB / 0.5049 GB, free: 0.7266 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.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp") [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.000798/0.000798, allocations: 67.95 kB / 0.7195 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4357, allocations: 102 MB / 0.8191 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00186/0.4375, allocations: 1.284 MB / 0.8204 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.4395, allocations: 1.734 MB / 0.8221 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.4396, allocations: 4 kB / 0.8221 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.4396, allocations: 19.69 kB / 0.8221 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.4398, allocations: 91.34 kB / 0.8222 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.4408, allocations: 0.6545 MB / 0.8228 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.4414, allocations: 0.7525 MB / 0.8236 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.4415, allocations: 64.53 kB / 0.8236 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.4418, allocations: 299.4 kB / 0.8239 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.4421, allocations: 283 kB / 0.8242 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.555e-05/0.4421, allocations: 72 kB / 0.8243 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.4423, allocations: 87.98 kB / 0.8243 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.4423, allocations: 83.73 kB / 0.8244 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.4425, allocations: 263.1 kB / 0.8247 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.443, allocations: 0.6919 MB / 0.8253 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.443, allocations: 0 / 0.8253 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.443, allocations: 0 / 0.8253 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.443, allocations: 0 / 0.8253 GB, free: 8.16 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009516/0.4439, allocations: 0.8691 MB / 0.8262 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.444, allocations: 17.45 kB / 0.8262 GB, free: 7.191 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.4441, allocations: 52.7 kB / 0.8263 GB, free: 7.141 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.4448, allocations: 393 kB / 0.8266 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.4449, allocations: 32.31 kB / 0.8267 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.4449, allocations: 52.31 kB / 0.8267 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.4452, allocations: 216.6 kB / 0.8269 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4452, allocations: 3.938 kB / 0.8269 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.4453, allocations: 11.98 kB / 0.8269 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4453, allocations: 4 kB / 0.8269 GB, free: 6.406 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.4455, allocations: 115.9 kB / 0.8271 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.4463, allocations: 0.9172 MB / 0.828 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.4467, allocations: 220.1 kB / 0.8282 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.4469, allocations: 102.5 kB / 0.8283 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.4469, allocations: 7.984 kB / 0.8283 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.4472, allocations: 286.2 kB / 0.8285 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.424e-06/0.4472, allocations: 3.984 kB / 0.8285 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.0009737/0.4482, allocations: 462.8 kB / 0.829 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4483, allocations: 110.8 kB / 0.8291 GB, free: 4.074 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.4484, allocations: 264.2 kB / 0.8293 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.4485, allocations: 45.7 kB / 0.8294 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.4486, allocations: 161 kB / 0.8295 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.4486, allocations: 111.1 kB / 0.8296 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4488, allocations: 158 kB / 0.8298 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.4489, allocations: 342.8 kB / 0.8301 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.4492, allocations: 224.8 kB / 0.8303 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.4496, allocations: 388.2 kB / 0.8307 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.4501, allocations: 0.575 MB / 0.8313 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4501, allocations: 4 kB / 0.8313 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009169/0.451, allocations: 0.8483 MB / 0.8321 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-05/0.4511, allocations: 190.2 kB / 0.8323 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4511, allocations: 4 kB / 0.8323 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4512, allocations: 11.94 kB / 0.8323 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4513, allocations: 55.84 kB / 0.8324 GB, free: 488 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4513, allocations: 8.062 kB / 0.8324 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.4517, allocations: 179.5 kB / 0.8325 GB, free: 300 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4518, allocations: 43.97 kB / 0.8326 GB, free: 256 kB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0001533/0.4519, allocations: 176.4 kB / 0.8327 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.452, allocations: 35.81 kB / 0.8328 GB, free: 36 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.452, allocations: 34 kB / 0.8328 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.452, allocations: 7.938 kB / 0.8328 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.452, allocations: 0 / 0.8328 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.452, allocations: 0 / 0.8328 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.4529, allocations: 0.8904 MB / 0.8337 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4529, allocations: 3.938 kB / 0.8337 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.453, allocations: 47.91 kB / 0.8337 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.453, allocations: 7.984 kB / 0.8337 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.453, allocations: 12 kB / 0.8338 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.453, allocations: 4 kB / 0.8338 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.453, allocations: 3.938 kB / 0.8338 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.4537, allocations: 0.7213 MB / 0.8345 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.4537, allocations: 35.75 kB / 0.8345 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4537, allocations: 8 kB / 0.8345 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4538, allocations: 16.02 kB / 0.8345 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.4539, allocations: 31.95 kB / 0.8346 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4539, allocations: 15.98 kB / 0.8346 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001091/0.454, allocations: 183.1 kB / 0.8347 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.454, allocations: 0 / 0.8347 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003478/0.4544, allocations: 115.9 kB / 0.8349 GB, free: 13.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001624/0.4545, allocations: 123 kB / 0.835 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009535/0.4555, allocations: 0.7566 MB / 0.8357 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4555, allocations: 192 / 0.8357 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.4557, allocations: 154.8 kB / 0.8359 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.4562, allocations: 115.4 kB / 0.836 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.4569, allocations: 0.6204 MB / 0.8366 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.4572, allocations: 0.7728 MB / 0.8373 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.4572, allocations: 47.36 kB / 0.8374 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.4572, allocations: 0 / 0.8374 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.005871/0.4631, allocations: 5.786 MB / 0.843 GB, free: 5.367 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.805523374816403] Failed to read output from testmodel.py, exit status != 0: 0.4688138868659735 0.47760513400000004 0.032662434000000004 Calling exit ...