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.0007428/0.0007428, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001777, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007232/0.0007232, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009636/0.001687, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9574/0.9574, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08808/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8303/0.8303, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3218/1.152, allocations: 49.13 MB / 448.6 MB, free: 5.945 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.164e-06/2.164e-06, allocations: 0 / 450 MB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.38e-05, allocations: 5.922 kB / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002555/0.002578, allocations: 1.265 MB / 451.3 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.0051, allocations: 1.761 MB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.005222, allocations: 0 / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.845e-05/0.00528, allocations: 24.3 kB / 453.1 MB, free: 1.543 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.005522, allocations: 106.2 kB / 453.2 MB, free: 1.461 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.006836, allocations: 0.621 MB / 453.8 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009363/0.007772, allocations: 0.7581 MB / 454.6 MB, free: 92 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.007938, allocations: 47.06 kB / 454.6 MB, free: 44 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.008612, allocations: 483.2 kB / 455.1 MB, free: 15.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.009017, allocations: 203.1 kB / 455.3 MB, free: 15.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.009136, allocations: 52.66 kB / 455.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.009309, allocations: 67.98 kB / 455.4 MB, free: 15.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.009379, allocations: 56.64 kB / 455.4 MB, free: 15.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.009559, allocations: 127.9 kB / 455.6 MB, free: 15.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.01008, allocations: 367.5 kB / 455.9 MB, free: 14.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.01009, allocations: 0 / 455.9 MB, free: 14.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01009, allocations: 1.5 kB / 455.9 MB, free: 14.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.0101, allocations: 0 / 455.9 MB, free: 14.72 MB / 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.00116/0.01126, allocations: 0.805 MB / 456.7 MB, free: 13.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.0113, allocations: 12.03 kB / 456.7 MB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.01141, allocations: 56.88 kB / 456.8 MB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.0118, allocations: 233.8 kB / 457 MB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.01184, allocations: 29.28 kB / 457.1 MB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.01193, allocations: 44.36 kB / 457.1 MB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.01225, allocations: 190.7 kB / 457.3 MB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01226, allocations: 5.062 kB / 457.3 MB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.01228, allocations: 8.359 kB / 457.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01229, allocations: 5 kB / 457.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.0124, allocations: 50.7 kB / 457.4 MB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.01324, allocations: 0.5596 MB / 457.9 MB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.0135, allocations: 139.7 kB / 458 MB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.01358, allocations: 51.77 kB / 458.1 MB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.01361, allocations: 11.94 kB / 458.1 MB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.01389, allocations: 245.7 kB / 458.3 MB, free: 12.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.0139, allocations: 0 / 458.3 MB, free: 12.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.0002975/0.01419, allocations: 243.5 kB / 458.6 MB, free: 11.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.01424, allocations: 114.8 kB / 458.7 MB, free: 11.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.01438, allocations: 250.9 kB / 458.9 MB, free: 11.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.01443, allocations: 45.7 kB / 459 MB, free: 11.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.0145, allocations: 138 kB / 459.1 MB, free: 11.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.01456, allocations: 112.5 kB / 459.2 MB, free: 11.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.01471, allocations: 138 kB / 459.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.0148, allocations: 354.6 kB / 459.7 MB, free: 10.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.015, allocations: 316.2 kB / 460 MB, free: 10.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.01528, allocations: 0.5153 MB / 460.5 MB, free: 9.742 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.01558, allocations: 493.2 kB / 461 MB, free: 9.188 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.01559, allocations: 7.938 kB / 461 MB, free: 9.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005421/0.01613, allocations: 0.7817 MB / 461.8 MB, free: 8.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.01623, allocations: 199.4 kB / 462 MB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01623, allocations: 4 kB / 462 MB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01625, allocations: 4 kB / 462 MB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01638, allocations: 60.48 kB / 462.1 MB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01639, allocations: 13.38 kB / 462.1 MB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.01669, allocations: 138 kB / 462.2 MB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.01674, allocations: 35.97 kB / 462.3 MB, free: 7.844 MB / 442.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.0001143/0.01685, allocations: 157.8 kB / 462.4 MB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.01688, allocations: 32.5 kB / 462.4 MB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.01692, allocations: 39.7 kB / 462.5 MB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01693, allocations: 7.938 kB / 462.5 MB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01693, allocations: 4 kB / 462.5 MB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.01694, allocations: 4 kB / 462.5 MB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.01739, allocations: 0.5797 MB / 463.1 MB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01739, allocations: 5.75 kB / 463.1 MB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.0175, allocations: 47.91 kB / 463.1 MB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01753, allocations: 25.59 kB / 463.2 MB, free: 6.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.01753, allocations: 7.984 kB / 463.2 MB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01755, allocations: 13.56 kB / 463.2 MB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01755, allocations: 0 / 463.2 MB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01755, allocations: 0 / 463.2 MB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.01788, allocations: 0.5011 MB / 463.7 MB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.0179, allocations: 8 kB / 463.7 MB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01801, allocations: 12.89 kB / 463.7 MB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.01805, allocations: 31.94 kB / 463.7 MB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.01806, allocations: 12.69 kB / 463.7 MB, free: 6.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.01812, allocations: 84.64 kB / 463.8 MB, free: 6.238 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01812, allocations: 1.938 kB / 463.8 MB, free: 6.238 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.01851, allocations: 115.9 kB / 463.9 MB, free: 6.125 MB / 442.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.0001564/0.01867, allocations: 100.3 kB / 464 MB, free: 6.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.01921, allocations: 0.8428 MB / 464.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.01922, allocations: 4.906 kB / 464.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.01932, allocations: 114 kB / 465 MB, free: 4.949 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.01998, allocations: 0.9286 MB / 465.9 MB, free: 3.844 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.02075, allocations: 0.5163 MB / 466.4 MB, free: 3.293 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.977e-05/0.02081, allocations: 101.7 kB / 466.5 MB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.02092, allocations: 46.98 kB / 466.6 MB, free: 3.133 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.02121, allocations: 194 kB / 466.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02121, allocations: 0 / 466.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of Templates: time 0.009849/0.03106, allocations: 8.601 MB / 475.4 MB, free: 10.92 MB / 458.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.8147751996293664]