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.0008919/0.0008919, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008266/0.0008266, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9695/0.9695, allocations: 230.6 MB / 256 MB, free: 9.582 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.7844/0.7844, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0008915/0.0008915, allocations: 62.31 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4697, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00183/0.4715, allocations: 1.201 MB / 0.819 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.4735, allocations: 1.716 MB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.4736, allocations: 3.5 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.568e-05/0.4737, allocations: 22.55 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.4739, allocations: 87 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.4751, allocations: 0.6538 MB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.4757, allocations: 0.7494 MB / 0.8222 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.4759, allocations: 68.83 kB / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.4762, allocations: 297.3 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.4765, allocations: 252.3 kB / 0.8228 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.4766, allocations: 71.25 kB / 0.8228 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.4768, allocations: 83.62 kB / 0.8229 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.4769, allocations: 71.64 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.4771, allocations: 236.6 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008554/0.478, allocations: 0.699 MB / 0.8239 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.478, allocations: 0 / 0.8239 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.478, allocations: 0.5625 kB / 0.8239 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.478, allocations: 4 kB / 0.8239 GB, free: 13.57 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.001045/0.479, allocations: 0.8634 MB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4791, allocations: 9.969 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.4791, allocations: 50.11 kB / 0.8248 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.4792, allocations: 52.2 kB / 0.8248 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.4801, allocations: 391.8 kB / 0.8252 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.4801, allocations: 29.16 kB / 0.8252 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.4802, allocations: 48.55 kB / 0.8253 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.4806, allocations: 221.5 kB / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4806, allocations: 0 / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.4807, allocations: 8.797 kB / 0.8255 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4807, allocations: 6.312 kB / 0.8255 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.4809, allocations: 120.1 kB / 0.8256 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/0.4819, allocations: 0.8273 MB / 0.8264 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.4823, allocations: 217.6 kB / 0.8266 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.4825, allocations: 99.95 kB / 0.8267 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4825, allocations: 3.375 kB / 0.8267 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.483, allocations: 286.4 kB / 0.827 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.483, allocations: 0 / 0.827 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.0007704/0.4837, allocations: 466.4 kB / 0.8275 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.4838, allocations: 118.7 kB / 0.8276 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.484, allocations: 260.3 kB / 0.8278 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.4841, allocations: 48.75 kB / 0.8279 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4842, allocations: 162.8 kB / 0.828 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.4842, allocations: 104.9 kB / 0.8281 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4844, allocations: 153.5 kB / 0.8283 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4845, allocations: 344.6 kB / 0.8286 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.485, allocations: 412.4 kB / 0.829 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.4856, allocations: 0.7638 MB / 0.8297 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.4862, allocations: 0.5773 MB / 0.8303 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4862, allocations: 1.062 kB / 0.8303 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001381/0.4876, allocations: 1.045 MB / 0.8313 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/0.4877, allocations: 185.3 kB / 0.8315 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4877, allocations: 8.766 kB / 0.8315 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4877, allocations: 9.875 kB / 0.8315 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.4878, allocations: 56.31 kB / 0.8316 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4878, allocations: 6.328 kB / 0.8316 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.4884, allocations: 181.5 kB / 0.8317 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.4884, allocations: 43.34 kB / 0.8318 GB, free: 8.105 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.000197/0.4886, allocations: 178 kB / 0.832 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.4887, allocations: 35.95 kB / 0.832 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.4887, allocations: 35.92 kB / 0.832 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4888, allocations: 8.188 kB / 0.832 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4888, allocations: 1.844 kB / 0.832 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4888, allocations: 2.375 kB / 0.832 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.4898, allocations: 0.8619 MB / 0.8329 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4898, allocations: 1.344 kB / 0.8329 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.4899, allocations: 41.41 kB / 0.8329 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.49, allocations: 2.812 kB / 0.8329 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.49, allocations: 15.28 kB / 0.8329 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.49, allocations: 2.875 kB / 0.8329 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.49, allocations: 1.125 kB / 0.8329 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.4908, allocations: 0.7246 MB / 0.8336 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.4908, allocations: 31.7 kB / 0.8337 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.4909, allocations: 8.219 kB / 0.8337 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.491, allocations: 15.64 kB / 0.8337 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.4911, allocations: 30.59 kB / 0.8337 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.4911, allocations: 19.73 kB / 0.8337 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001328/0.4912, allocations: 184.5 kB / 0.8339 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4912, allocations: 1.312 kB / 0.8339 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004372/0.4917, allocations: 117.1 kB / 0.834 GB, free: 6.695 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.001177/0.4928, allocations: 1.271 MB / 0.8353 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.4939, allocations: 0.9331 MB / 0.8362 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4939, allocations: 1.781 kB / 0.8362 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.4941, allocations: 145.4 kB / 0.8363 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.4946, allocations: 109.5 kB / 0.8364 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.5, allocations: 5.029 MB / 0.8413 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.5002, allocations: 165.5 kB / 0.8415 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.5004, allocations: 56.42 kB / 0.8416 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5005, allocations: 113.1 kB / 0.8417 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of SimCode: time 1.183e-06/0.5005, allocations: 0 / 0.8417 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.5279, allocations: 11.43 MB / 0.8528 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.409, allocations: 2.281 kB / 0.8528 GB, free: 11.49 MB / 0.6355 GB " [Timeout remaining time 653] (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.357979353051633] Failed to read output from testmodel.py, exit status != 0: 7.491992723196745 7.506982165 7.02702043 Calling exit ...