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.0008363/0.0008363, allocations: 88.22 kB / 19.65 MB, free: 272 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.001508/0.001508, allocations: 177 kB / 23.03 MB, free: 1.535 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 0.9786/0.9786, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.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-535:34: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-535:42: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.7428/0.7428, allocations: 154.9 MB / 414.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 0.5208 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.778e-05, allocations: 7.922 kB / 0.5208 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001808/0.001846, allocations: 1.237 MB / 0.522 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.003612, allocations: 1.75 MB / 0.5237 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.003725, allocations: 4.562 kB / 0.5237 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.003773, allocations: 19.69 kB / 0.5237 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.003968, allocations: 104.3 kB / 0.5238 GB, free: 13.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.00504, allocations: 0.6272 MB / 0.5244 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007088/0.005749, allocations: 0.7657 MB / 0.5252 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.005889, allocations: 44.91 kB / 0.5252 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.006435, allocations: 460.6 kB / 0.5256 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.006695, allocations: 203.1 kB / 0.5258 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.00676, allocations: 56 kB / 0.5259 GB, free: 11.4 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.006865, allocations: 64 kB / 0.526 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.006911, allocations: 63.12 kB / 0.526 GB, free: 11.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.007056, allocations: 191.6 kB / 0.5262 GB, free: 11.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.00745, allocations: 454.7 kB / 0.5266 GB, free: 10.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007453, allocations: 0 / 0.5266 GB, free: 10.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007454, allocations: 0 / 0.5266 GB, free: 10.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.00746, allocations: 0 / 0.5266 GB, free: 10.65 MB / 458.7 MB 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.00105/0.00851, allocations: 0.9227 MB / 0.5275 GB, free: 9.633 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.008549, allocations: 12.03 kB / 0.5275 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.008663, allocations: 65.25 kB / 0.5276 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.008975, allocations: 289.5 kB / 0.5279 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.009004, allocations: 24.38 kB / 0.5279 GB, free: 9.227 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.009071, allocations: 48.36 kB / 0.5279 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.009351, allocations: 203.2 kB / 0.5281 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.009359, allocations: 192 / 0.5281 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.009378, allocations: 9 kB / 0.5281 GB, free: 8.953 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.009388, allocations: 9.703 kB / 0.5282 GB, free: 8.945 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.009497, allocations: 71.77 kB / 0.5282 GB, free: 8.875 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.01038, allocations: 0.9253 MB / 0.5291 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.01065, allocations: 189.6 kB / 0.5293 GB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.01073, allocations: 73.72 kB / 0.5294 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.01075, allocations: 19.92 kB / 0.5294 GB, free: 7.582 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.011, allocations: 256.5 kB / 0.5296 GB, free: 7.305 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 1.323e-06/0.01101, allocations: 0.9375 kB / 0.5296 GB, free: 7.305 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004886/0.01149, allocations: 359.5 kB / 0.53 GB, free: 6.949 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.01154, allocations: 111.8 kB / 0.5301 GB, free: 6.816 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.01172, allocations: 314.2 kB / 0.5304 GB, free: 6.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.01177, allocations: 46.36 kB / 0.5304 GB, free: 6.449 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.01213, allocations: 203.7 kB / 0.5306 GB, free: 6.242 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.01219, allocations: 104.5 kB / 0.5307 GB, free: 6.141 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.01235, allocations: 147.8 kB / 0.5309 GB, free: 5.988 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.01247, allocations: 0.5195 MB / 0.5314 GB, free: 5.457 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.01278, allocations: 365.5 kB / 0.5317 GB, free: 5.062 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.01316, allocations: 0.6196 MB / 0.5323 GB, free: 4.316 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.01358, allocations: 0.5254 MB / 0.5328 GB, free: 3.699 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.01359, allocations: 7.812 kB / 0.5329 GB, free: 3.695 MB / 458.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008321/0.01442, allocations: 0.9738 MB / 0.5338 GB, free: 2.641 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.0145, allocations: 198.2 kB / 0.534 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.0145, allocations: 11 kB / 0.534 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.01452, allocations: 4 kB / 0.534 GB, free: 2.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01465, allocations: 55.84 kB / 0.5341 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01466, allocations: 7.984 kB / 0.5341 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.01499, allocations: 131 kB / 0.5342 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.01504, allocations: 51.91 kB / 0.5342 GB, free: 2.16 MB / 458.7 MB 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.0001344/0.01518, allocations: 194.5 kB / 0.5344 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.01522, allocations: 63.34 kB / 0.5345 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.01527, allocations: 29.81 kB / 0.5345 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01527, allocations: 4 kB / 0.5345 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01528, allocations: 7.984 kB / 0.5345 GB, free: 1.855 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01528, allocations: 0 / 0.5345 GB, free: 1.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.01596, allocations: 0.888 MB / 0.5354 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01597, allocations: 4 kB / 0.5354 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.01608, allocations: 41.09 kB / 0.5354 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01608, allocations: 0 / 0.5354 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.0161, allocations: 11.98 kB / 0.5355 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01611, allocations: 5.656 kB / 0.5355 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01611, allocations: 3.938 kB / 0.5355 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.01665, allocations: 0.7275 MB / 0.5362 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.01668, allocations: 39.69 kB / 0.5362 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.01671, allocations: 8.656 kB / 0.5362 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01682, allocations: 12.55 kB / 0.5362 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.01688, allocations: 35.89 kB / 0.5363 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.0169, allocations: 21.33 kB / 0.5363 GB, free: 0 / 458.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.017, allocations: 207.1 kB / 0.5365 GB, free: 15.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.017, allocations: 3.938 kB / 0.5365 GB, free: 15.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.01736, allocations: 108 kB / 0.5366 GB, free: 15.69 MB / 474.7 MB 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.0001668/0.01753, allocations: 117.3 kB / 0.5367 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009953/0.01852, allocations: 0.8966 MB / 0.5376 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01852, allocations: 0 / 0.5376 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.01866, allocations: 123.5 kB / 0.5377 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.01914, allocations: 127.1 kB / 0.5378 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.01981, allocations: 0.5507 MB / 0.5384 GB, free: 13.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.01987, allocations: 97.11 kB / 0.5384 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.01999, allocations: 47.53 kB / 0.5385 GB, free: 13.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.02005, allocations: 36.48 kB / 0.5385 GB, free: 13.54 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02005, allocations: 0.75 kB / 0.5385 GB, free: 13.54 MB / 474.7 MB Notification: Performance of Templates: time 0.009987/0.03004, allocations: 8.173 MB / 0.5465 GB, free: 5.699 MB / 474.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.875298238825053]