Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001403/0.001403, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.001569/0.001569, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.232/1.232, allocations: 154.6 MB / 414.2 MB, free: 0.6289 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.401e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002869/0.002903, allocations: 1.195 MB / 0.5209 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.006029, allocations: 1.727 MB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.006264, allocations: 4 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.006362, allocations: 25.38 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.006715, allocations: 91.28 kB / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.008404, allocations: 0.627 MB / 0.5233 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.009655, allocations: 0.7652 MB / 0.524 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.009864, allocations: 48.89 kB / 0.5241 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.01112, allocations: 432 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.01166, allocations: 220.9 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.01185, allocations: 72 kB / 0.5248 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.01208, allocations: 83.97 kB / 0.5248 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.0122, allocations: 75.75 kB / 0.5249 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.01255, allocations: 216.5 kB / 0.5251 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.01371, allocations: 0.8065 MB / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01372, allocations: 1 kB / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01372, allocations: 0 / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.01374, allocations: 0 / 0.5259 GB, free: 12.13 MB / 0.4948 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.002072/0.01581, allocations: 0.8593 MB / 0.5267 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.01586, allocations: 12.56 kB / 0.5267 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.0161, allocations: 73.38 kB / 0.5268 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.0177, allocations: 405.3 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.01777, allocations: 32.31 kB / 0.5272 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.0179, allocations: 44.36 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.01847, allocations: 214.3 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01848, allocations: 192 / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.01851, allocations: 8.922 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01852, allocations: 8.688 kB / 0.5275 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.01891, allocations: 124.8 kB / 0.5276 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.02037, allocations: 0.7866 MB / 0.5284 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.02112, allocations: 221 kB / 0.5286 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.02141, allocations: 94.52 kB / 0.5287 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.02145, allocations: 11.98 kB / 0.5287 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006777/0.02213, allocations: 292.6 kB / 0.529 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.02213, allocations: 4.688 kB / 0.529 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.001377/0.0235, allocations: 476.3 kB / 0.5294 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/0.0236, allocations: 114.8 kB / 0.5295 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.02394, allocations: 260.2 kB / 0.5298 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.02406, allocations: 53.69 kB / 0.5298 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.02425, allocations: 157 kB / 0.53 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.02437, allocations: 111.2 kB / 0.5301 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.02468, allocations: 146.1 kB / 0.5302 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.02489, allocations: 346.7 kB / 0.5306 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/0.02567, allocations: 421.8 kB / 0.531 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.027, allocations: 0.7621 MB / 0.5317 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.02813, allocations: 0.5784 MB / 0.5323 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.02814, allocations: 6.438 kB / 0.5323 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002124/0.03027, allocations: 1.067 MB / 0.5333 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.03043, allocations: 186.2 kB / 0.5335 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.03045, allocations: 4 kB / 0.5335 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.03048, allocations: 4 kB / 0.5335 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.03073, allocations: 52.48 kB / 0.5336 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.03075, allocations: 8.516 kB / 0.5336 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.03178, allocations: 188.5 kB / 0.5338 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.0319, allocations: 47.95 kB / 0.5338 GB, free: 3.422 MB / 0.4948 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.0002805/0.03218, allocations: 177.2 kB / 0.534 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.03227, allocations: 48.92 kB / 0.534 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.03236, allocations: 33.75 kB / 0.534 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.03237, allocations: 8.891 kB / 0.5341 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.03237, allocations: 0 / 0.5341 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.03238, allocations: 0.6562 kB / 0.5341 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.03395, allocations: 0.821 MB / 0.5349 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.03395, allocations: 0 / 0.5349 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.0342, allocations: 46.06 kB / 0.5349 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.03421, allocations: 4 kB / 0.5349 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.03425, allocations: 11.98 kB / 0.5349 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.03425, allocations: 0 / 0.5349 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.03426, allocations: 7.938 kB / 0.5349 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.03566, allocations: 0.7286 MB / 0.5356 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.03572, allocations: 35.78 kB / 0.5357 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.03578, allocations: 8 kB / 0.5357 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.03604, allocations: 21.17 kB / 0.5357 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.03613, allocations: 27.94 kB / 0.5357 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.03617, allocations: 19.98 kB / 0.5357 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002459/0.03641, allocations: 179.8 kB / 0.5359 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03641, allocations: 1.219 kB / 0.5359 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000692/0.03711, allocations: 119.9 kB / 0.536 GB, free: 1.082 MB / 0.4948 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.0003186/0.03742, allocations: 119.6 kB / 0.5361 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.03919, allocations: 0.94 MB / 0.5371 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.03919, allocations: 4 kB / 0.5371 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.03957, allocations: 143.9 kB / 0.5372 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.04041, allocations: 119.6 kB / 0.5373 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.04174, allocations: 0.5873 MB / 0.5379 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.04217, allocations: 167.6 kB / 0.5381 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.04238, allocations: 49.72 kB / 0.5381 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.04248, allocations: 40.48 kB / 0.5381 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of SimCode: time 6.62e-07/0.04248, allocations: 2.344 kB / 0.5381 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.01602/0.05849, allocations: 7.702 MB / 0.5457 GB, free: 7.387 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.031445594038814]