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.00102/0.00102, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001116/0.001116, allocations: 173 kB / 24.06 MB, free: 460 kB / 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.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.7999/0.7999, allocations: 154.9 MB / 415.9 MB, free: 272 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 1.653e-06/1.653e-06, allocations: 0 / 0.522 GB, free: 1.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.605e-05, allocations: 6.469 kB / 0.522 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001651/0.001667, allocations: 1.216 MB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.003336, allocations: 1.744 MB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.003418, allocations: 0 / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.003462, allocations: 23.67 kB / 0.5249 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.003634, allocations: 101.2 kB / 0.525 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.004553, allocations: 0.6387 MB / 0.5256 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.005119, allocations: 0.7531 MB / 0.5263 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.005242, allocations: 54.17 kB / 0.5264 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.005647, allocations: 463.1 kB / 0.5268 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.005889, allocations: 199.4 kB / 0.527 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.005955, allocations: 52 kB / 0.5271 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.006053, allocations: 69.95 kB / 0.5271 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.006101, allocations: 71.73 kB / 0.5272 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.00623, allocations: 179.7 kB / 0.5274 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.00658, allocations: 462.6 kB / 0.5278 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.006582, allocations: 0 / 0.5278 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006583, allocations: 1.469 kB / 0.5278 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.006587, allocations: 0 / 0.5278 GB, free: 11.49 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.0007885/0.007375, allocations: 0.9264 MB / 0.5287 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.007407, allocations: 9.312 kB / 0.5287 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.435e-05/0.007501, allocations: 68.69 kB / 0.5288 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.007791, allocations: 284.6 kB / 0.5291 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.007821, allocations: 28.23 kB / 0.5291 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.007879, allocations: 44.95 kB / 0.5291 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.00811, allocations: 195.3 kB / 0.5293 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.008119, allocations: 192 / 0.5293 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.008134, allocations: 9.594 kB / 0.5293 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.008141, allocations: 384 / 0.5293 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.008218, allocations: 61.92 kB / 0.5294 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.009077, allocations: 0.8897 MB / 0.5303 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.009287, allocations: 175.4 kB / 0.5304 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.00935, allocations: 73.41 kB / 0.5305 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.009367, allocations: 4 kB / 0.5305 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.00958, allocations: 242.2 kB / 0.5307 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.432e-06/0.009581, allocations: 4 kB / 0.5307 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.0003991/0.00998, allocations: 329.2 kB / 0.531 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.01003, allocations: 106.8 kB / 0.5311 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01019, allocations: 315.1 kB / 0.5314 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.01023, allocations: 49.69 kB / 0.5315 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.01033, allocations: 203.7 kB / 0.5317 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.0104, allocations: 108.1 kB / 0.5318 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.01055, allocations: 155.7 kB / 0.5319 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01067, allocations: 0.5224 MB / 0.5324 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.01092, allocations: 323.1 kB / 0.5328 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.01124, allocations: 0.5766 MB / 0.5333 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.01158, allocations: 0.5154 MB / 0.5338 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01159, allocations: 0.5625 kB / 0.5338 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007361/0.01232, allocations: 0.9103 MB / 0.5347 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.01241, allocations: 194.8 kB / 0.5349 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01241, allocations: 4 kB / 0.5349 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01243, allocations: 8.844 kB / 0.5349 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01254, allocations: 52.34 kB / 0.535 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01255, allocations: 12 kB / 0.535 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.01288, allocations: 138.8 kB / 0.5351 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.01293, allocations: 36.69 kB / 0.5351 GB, free: 3.309 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.0001357/0.01307, allocations: 211.6 kB / 0.5353 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.01311, allocations: 51.77 kB / 0.5354 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.01315, allocations: 34.73 kB / 0.5354 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01316, allocations: 4.906 kB / 0.5354 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01316, allocations: 3.938 kB / 0.5354 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01316, allocations: 6.594 kB / 0.5354 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.0139, allocations: 0.8416 MB / 0.5363 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.0139, allocations: 0 / 0.5363 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.01401, allocations: 39.91 kB / 0.5363 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01401, allocations: 4 kB / 0.5363 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01403, allocations: 15.83 kB / 0.5363 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01403, allocations: 4 kB / 0.5363 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01403, allocations: 3.938 kB / 0.5363 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.01446, allocations: 0.7026 MB / 0.537 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.01449, allocations: 31.75 kB / 0.537 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01452, allocations: 11.98 kB / 0.5371 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01463, allocations: 11.98 kB / 0.5371 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.01467, allocations: 35.89 kB / 0.5371 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01469, allocations: 15.17 kB / 0.5371 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.812e-05/0.01477, allocations: 199 kB / 0.5373 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01477, allocations: 3.938 kB / 0.5373 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003325/0.0151, allocations: 112 kB / 0.5374 GB, free: 0.9258 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.0001077/0.01521, allocations: 119.1 kB / 0.5375 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.01577, allocations: 0.8459 MB / 0.5384 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01577, allocations: 0 / 0.5384 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01587, allocations: 107.2 kB / 0.5385 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.01632, allocations: 127.1 kB / 0.5386 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01687, allocations: 0.5423 MB / 0.5391 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.973e-05/0.01693, allocations: 97.06 kB / 0.5392 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.01705, allocations: 50.5 kB / 0.5392 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.01735, allocations: 223.5 kB / 0.5395 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.01735, allocations: 0 / 0.5395 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.009732/0.02709, allocations: 8.308 MB / 0.5476 GB, free: 6.684 MB / 0.5105 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=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.9695016406476498]