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.0009136/0.0009136, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009127/0.0009127, allocations: 169 kB / 23.02 MB, free: 1.547 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.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8581/0.8581, allocations: 154.6 MB / 414.5 MB, free: 0.6953 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 179] 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 1.954e-06/1.954e-06, allocations: 0 / 0.5204 GB, free: 2.117 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.618e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.113 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001678/0.001704, allocations: 1.239 MB / 0.5216 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.00343, allocations: 1.742 MB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.003521, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.481e-05/0.003576, allocations: 27.61 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.003751, allocations: 100.5 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.004722, allocations: 0.624 MB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000569/0.005291, allocations: 0.7646 MB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.005432, allocations: 49.39 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.005778, allocations: 424.4 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.006034, allocations: 227.4 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.006115, allocations: 69 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.006233, allocations: 91.97 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.006285, allocations: 71.75 kB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.006443, allocations: 216.2 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.006875, allocations: 0.5187 MB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006877, allocations: 0 / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.006878, allocations: 1.375 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.006883, allocations: 0 / 0.5264 GB, free: 11.99 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.00099/0.007873, allocations: 0.9545 MB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.00791, allocations: 16.02 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.008029, allocations: 64.69 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.008716, allocations: 373.6 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.008752, allocations: 33.64 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.008828, allocations: 52.36 kB / 0.5278 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.009112, allocations: 199.5 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.009124, allocations: 192 / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.009144, allocations: 5.312 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.009158, allocations: 8.125 kB / 0.528 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.009278, allocations: 79.11 kB / 0.5281 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.01026, allocations: 0.9226 MB / 0.529 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.01058, allocations: 188.6 kB / 0.5292 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.01068, allocations: 71.02 kB / 0.5293 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.0107, allocations: 8 kB / 0.5293 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.01099, allocations: 256.2 kB / 0.5295 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.01099, allocations: 1.438 kB / 0.5295 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0005082/0.0115, allocations: 370.6 kB / 0.5299 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.01156, allocations: 120.1 kB / 0.53 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.01176, allocations: 310.2 kB / 0.5303 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.01181, allocations: 49.7 kB / 0.5303 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01192, allocations: 200.4 kB / 0.5305 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.01199, allocations: 111.2 kB / 0.5306 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.01216, allocations: 156.4 kB / 0.5308 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.0123, allocations: 0.5156 MB / 0.5313 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.01263, allocations: 363.6 kB / 0.5316 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.01311, allocations: 0.789 MB / 0.5324 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.01355, allocations: 0.535 MB / 0.5329 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01355, allocations: 0 / 0.5329 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009119/0.01446, allocations: 0.9884 MB / 0.5339 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/0.01454, allocations: 186.2 kB / 0.5341 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01455, allocations: 0 / 0.5341 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.01457, allocations: 14.42 kB / 0.5341 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01469, allocations: 43.92 kB / 0.5341 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.01471, allocations: 16 kB / 0.5341 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.01505, allocations: 138 kB / 0.5343 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.01511, allocations: 47.95 kB / 0.5343 GB, free: 3.156 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.0001427/0.01525, allocations: 207.8 kB / 0.5345 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.01529, allocations: 47.8 kB / 0.5345 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.01534, allocations: 35.22 kB / 0.5346 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01534, allocations: 4 kB / 0.5346 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.01535, allocations: 0.5625 kB / 0.5346 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.01536, allocations: 7.984 kB / 0.5346 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.01603, allocations: 0.8799 MB / 0.5355 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01604, allocations: 0 / 0.5355 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.01614, allocations: 45.41 kB / 0.5355 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01614, allocations: 0 / 0.5355 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.01616, allocations: 15.92 kB / 0.5355 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01616, allocations: 4 kB / 0.5355 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01617, allocations: 8.906 kB / 0.5355 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.01669, allocations: 0.7326 MB / 0.5362 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01672, allocations: 28.41 kB / 0.5363 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.01674, allocations: 12.59 kB / 0.5363 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.01685, allocations: 16.47 kB / 0.5363 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.01691, allocations: 27.94 kB / 0.5363 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.01693, allocations: 20.7 kB / 0.5363 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001229/0.01705, allocations: 211 kB / 0.5365 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01705, allocations: 2.469 kB / 0.5365 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003548/0.0174, allocations: 119.9 kB / 0.5367 GB, free: 0.6797 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.0001594/0.01756, allocations: 115.2 kB / 0.5368 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007183/0.01828, allocations: 0.884 MB / 0.5376 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01828, allocations: 9.375 kB / 0.5376 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.01841, allocations: 115.5 kB / 0.5377 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.01888, allocations: 120.8 kB / 0.5379 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/0.01955, allocations: 0.545 MB / 0.5384 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.74e-05/0.01962, allocations: 94.31 kB / 0.5385 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.01975, allocations: 54.89 kB / 0.5385 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.0198, allocations: 36.5 kB / 0.5386 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.0198, allocations: 0 / 0.5386 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.009059/0.02886, allocations: 7.707 MB / 0.5461 GB, free: 7.16 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9930776190012693]