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.001001/0.001001, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009969/0.0009969, allocations: 177 kB / 23.36 MB, free: 1.133 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8814/0.8814, allocations: 154.9 MB / 415.1 MB, free: 228 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 2.555e-06/2.555e-06, allocations: 0 / 480.5 MB, free: 6.402 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.762e-05, allocations: 4.141 kB / 480.5 MB, free: 6.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001919/0.001947, allocations: 1.256 MB / 481.7 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.003664, allocations: 1.764 MB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.003738, allocations: 1.75 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.003779, allocations: 23.67 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.003961, allocations: 108.2 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.0048, allocations: 0.6292 MB / 484.3 MB, free: 2.676 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005106/0.00531, allocations: 0.7617 MB / 485 MB, free: 1.914 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005424, allocations: 57.27 kB / 485.1 MB, free: 1.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.005789, allocations: 460.3 kB / 485.5 MB, free: 1.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.006075, allocations: 200.2 kB / 485.7 MB, free: 1.219 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.006135, allocations: 56 kB / 485.8 MB, free: 1.164 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.006235, allocations: 71.81 kB / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.006277, allocations: 67.73 kB / 485.9 MB, free: 1.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.006407, allocations: 187.7 kB / 486.1 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.006732, allocations: 443.4 kB / 486.5 MB, free: 420 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006734, allocations: 1.031 kB / 486.5 MB, free: 420 kB / 442.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006734, allocations: 0 / 486.5 MB, free: 420 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006739, allocations: 0 / 486.5 MB, free: 420 kB / 442.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.0007061/0.007445, allocations: 0.7169 MB / 487.2 MB, free: 15.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.0075, allocations: 8.625 kB / 487.3 MB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.007575, allocations: 57.91 kB / 487.3 MB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.007993, allocations: 245.7 kB / 487.5 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.00802, allocations: 29.45 kB / 487.6 MB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.008076, allocations: 48.92 kB / 487.6 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.008296, allocations: 188.9 kB / 487.8 MB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.008306, allocations: 192 / 487.8 MB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.008322, allocations: 12.98 kB / 487.8 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.008328, allocations: 384 / 487.8 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.008397, allocations: 52.47 kB / 487.9 MB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.008982, allocations: 0.5572 MB / 488.4 MB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.009186, allocations: 134.8 kB / 488.6 MB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.009245, allocations: 58.48 kB / 488.6 MB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.009264, allocations: 5.219 kB / 488.6 MB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.009493, allocations: 243.3 kB / 488.9 MB, free: 13.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 2.265e-06/0.009495, allocations: 0.875 kB / 488.9 MB, free: 13.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.0003024/0.009798, allocations: 252.9 kB / 489.1 MB, free: 13.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.009839, allocations: 110.8 kB / 489.2 MB, free: 13.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.009966, allocations: 250.9 kB / 489.5 MB, free: 13.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.01001, allocations: 45.7 kB / 489.5 MB, free: 13.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.01008, allocations: 143.4 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.01014, allocations: 111.1 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.01028, allocations: 134.1 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.01037, allocations: 350.7 kB / 490.2 MB, free: 12.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.01058, allocations: 311.1 kB / 490.5 MB, free: 12.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.01115, allocations: 0.5019 MB / 491 MB, free: 11.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.01148, allocations: 486.8 kB / 491.5 MB, free: 10.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01148, allocations: 0 / 491.5 MB, free: 10.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005535/0.01204, allocations: 0.7736 MB / 492.3 MB, free: 10.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.01212, allocations: 198.2 kB / 492.5 MB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01212, allocations: 4 kB / 492.5 MB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01213, allocations: 4.656 kB / 492.5 MB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01225, allocations: 60.72 kB / 492.5 MB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01226, allocations: 7.938 kB / 492.6 MB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.01256, allocations: 139.2 kB / 492.7 MB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.01261, allocations: 39.97 kB / 492.7 MB, free: 9.664 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.0001132/0.01272, allocations: 160.5 kB / 492.9 MB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.01275, allocations: 36.5 kB / 492.9 MB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.01279, allocations: 31.67 kB / 493 MB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01279, allocations: 8 kB / 493 MB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.0128, allocations: 4 kB / 493 MB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.0128, allocations: 0 / 493 MB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.01325, allocations: 0.576 MB / 493.5 MB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01325, allocations: 0.5312 kB / 493.5 MB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01336, allocations: 50.09 kB / 493.6 MB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01336, allocations: 0 / 493.6 MB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.01338, allocations: 11.98 kB / 493.6 MB, free: 8.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01338, allocations: 4 kB / 493.6 MB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01338, allocations: 0 / 493.6 MB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.01371, allocations: 0.4926 MB / 494.1 MB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.01373, allocations: 33.5 kB / 494.1 MB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.01376, allocations: 12 kB / 494.1 MB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01387, allocations: 17.58 kB / 494.2 MB, free: 8.188 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.01391, allocations: 23.95 kB / 494.2 MB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01392, allocations: 19.92 kB / 494.2 MB, free: 8.145 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.01398, allocations: 89.41 kB / 494.3 MB, free: 8.059 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01398, allocations: 0 / 494.3 MB, free: 8.059 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.01426, allocations: 112 kB / 494.4 MB, free: 7.949 MB / 458.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.0001273/0.01439, allocations: 101.5 kB / 494.5 MB, free: 7.844 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.01492, allocations: 0.8157 MB / 495.3 MB, free: 6.918 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01492, allocations: 4 kB / 495.3 MB, free: 6.914 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.01502, allocations: 103.4 kB / 495.4 MB, free: 6.812 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.01542, allocations: 123.8 kB / 495.5 MB, free: 6.695 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.01597, allocations: 0.5221 MB / 496.1 MB, free: 6.141 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.01603, allocations: 98.58 kB / 496.2 MB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.01614, allocations: 48.64 kB / 496.2 MB, free: 5.992 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.01644, allocations: 190.3 kB / 496.4 MB, free: 5.805 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01644, allocations: 3.938 kB / 496.4 MB, free: 5.801 MB / 458.7 MB Notification: Performance of Templates: time 0.009477/0.02592, allocations: 8.11 MB / 0.4927 GB, free: 14.22 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.010109428316355]