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.0006994/0.0006994, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 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.001273/0.001273, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9507/0.9507, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.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-531:190: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-531:198: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.8189/0.8189, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.14 kB / 0.7183 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5449, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00229/0.5471, allocations: 1.3 MB / 0.8192 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.5492, allocations: 1.736 MB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.5493, allocations: 3.844 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.5494, allocations: 22.27 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.5496, allocations: 88.19 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.551, allocations: 0.6536 MB / 0.8216 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.5521, allocations: 0.7498 MB / 0.8224 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.5524, allocations: 68.2 kB / 0.8224 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.5528, allocations: 301.5 kB / 0.8227 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.5532, allocations: 284 kB / 0.823 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.5533, allocations: 73.38 kB / 0.823 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.5534, allocations: 90.08 kB / 0.8231 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.5535, allocations: 74.23 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.5537, allocations: 259.7 kB / 0.8235 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008452/0.5546, allocations: 0.6917 MB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5546, allocations: 0 / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5546, allocations: 0.5625 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.5546, allocations: 0 / 0.8241 GB, free: 13.62 MB / 0.6198 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.001142/0.5557, allocations: 0.8734 MB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.5558, allocations: 8.844 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003344/0.5561, allocations: 50.58 kB / 0.825 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.5562, allocations: 56.86 kB / 0.8251 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.557, allocations: 394.5 kB / 0.8255 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.5571, allocations: 25.45 kB / 0.8255 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.5572, allocations: 49.47 kB / 0.8255 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.5575, allocations: 222.9 kB / 0.8258 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5575, allocations: 1.375 kB / 0.8258 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.5575, allocations: 8.188 kB / 0.8258 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5575, allocations: 4.266 kB / 0.8258 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.5578, allocations: 119.8 kB / 0.8259 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.5588, allocations: 0.9242 MB / 0.8268 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.5592, allocations: 218.3 kB / 0.827 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.5594, allocations: 98.11 kB / 0.8271 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.5594, allocations: 7.234 kB / 0.8271 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/0.5599, allocations: 289.6 kB / 0.8274 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.162e-06/0.5599, allocations: 0 / 0.8274 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.0007873/0.5607, allocations: 460.1 kB / 0.8278 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5607, allocations: 110.3 kB / 0.8279 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.561, allocations: 264.8 kB / 0.8282 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.561, allocations: 48.7 kB / 0.8282 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5611, allocations: 162.4 kB / 0.8284 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.5612, allocations: 104.4 kB / 0.8285 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.5614, allocations: 153.1 kB / 0.8286 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5615, allocations: 348.9 kB / 0.8289 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.5619, allocations: 222.2 kB / 0.8292 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.5625, allocations: 392.2 kB / 0.8295 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.5631, allocations: 0.5771 MB / 0.8301 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5631, allocations: 1.156 kB / 0.8301 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001285/0.5644, allocations: 0.8472 MB / 0.8309 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.5645, allocations: 183.4 kB / 0.8311 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5645, allocations: 7.406 kB / 0.8311 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5645, allocations: 5.594 kB / 0.8311 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5647, allocations: 57.55 kB / 0.8312 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.5647, allocations: 5.938 kB / 0.8312 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.5652, allocations: 181.8 kB / 0.8313 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.5653, allocations: 47.27 kB / 0.8314 GB, free: 8.98 MB / 0.6198 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.000169/0.5655, allocations: 181.1 kB / 0.8316 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.5655, allocations: 35.98 kB / 0.8316 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.5656, allocations: 37.02 kB / 0.8316 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5656, allocations: 4.344 kB / 0.8316 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5656, allocations: 1.25 kB / 0.8316 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5656, allocations: 6.344 kB / 0.8316 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.5665, allocations: 0.8865 MB / 0.8325 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5666, allocations: 1.062 kB / 0.8325 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.5667, allocations: 49.39 kB / 0.8326 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5667, allocations: 3.438 kB / 0.8326 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5667, allocations: 10.83 kB / 0.8326 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5667, allocations: 3.125 kB / 0.8326 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5667, allocations: 9.266 kB / 0.8326 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.5675, allocations: 0.7251 MB / 0.8333 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.5675, allocations: 29.61 kB / 0.8333 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.5675, allocations: 8.938 kB / 0.8333 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.5677, allocations: 16.5 kB / 0.8333 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.5677, allocations: 34 kB / 0.8334 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.5678, allocations: 19.33 kB / 0.8334 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001496/0.5679, allocations: 181.4 kB / 0.8336 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5679, allocations: 0 / 0.8336 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004023/0.5683, allocations: 114.1 kB / 0.8337 GB, free: 7.555 MB / 0.6198 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.001048/0.5694, allocations: 1.265 MB / 0.8349 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009761/0.5703, allocations: 0.7488 MB / 0.8356 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5703, allocations: 5.281 kB / 0.8356 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.5706, allocations: 143.2 kB / 0.8358 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.5711, allocations: 109.2 kB / 0.8359 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005563/0.5767, allocations: 4.276 MB / 0.8401 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.5771, allocations: 0.7718 MB / 0.8408 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.5773, allocations: 58.27 kB / 0.8409 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.5775, allocations: 112.8 kB / 0.841 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of SimCode: time 2.134e-06/0.5775, allocations: 0.9375 kB / 0.841 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.6081, allocations: 10.24 MB / 0.851 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.565, allocations: 7.469 kB / 0.851 GB, free: 13.61 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.598867385881022] Failed to read output from testmodel.py, exit status != 0: 7.647648704005405 7.656665596 7.099895574 Calling exit ...