Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001164/0.001164, allocations: 109.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.00161/0.00161, allocations: 216 kB / 22.25 MB, free: 3.73 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.9829/0.9829, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7744/0.7744, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.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/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IDEAS_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.001342/0.001342, allocations: 74.06 kB / 0.7178 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4858, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001747/0.4876, allocations: 1.196 MB / 0.8186 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.4893, allocations: 1.71 MB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.4894, allocations: 3.125 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.56e-05/0.4894, allocations: 25.45 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.4896, allocations: 95.09 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.4907, allocations: 0.6468 MB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006039/0.4913, allocations: 0.7548 MB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.4914, allocations: 60.47 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.4917, allocations: 298.4 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.492, allocations: 256 kB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-05/0.4921, allocations: 72.09 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.4922, allocations: 79.64 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.4923, allocations: 76.22 kB / 0.8226 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.4925, allocations: 244.3 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008287/0.4933, allocations: 0.6944 MB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4933, allocations: 0.7969 kB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4933, allocations: 3.938 kB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.4934, allocations: 0 / 0.8235 GB, free: 13.77 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.001285/0.4946, allocations: 0.8668 MB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4947, allocations: 10.28 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.4947, allocations: 49.95 kB / 0.8244 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.4949, allocations: 52.52 kB / 0.8244 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00086/0.4957, allocations: 391 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.4957, allocations: 28.91 kB / 0.8248 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.4958, allocations: 49.47 kB / 0.8249 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.4962, allocations: 220.7 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4962, allocations: 0 / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.4962, allocations: 9.219 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4962, allocations: 3.344 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.4964, allocations: 118.2 kB / 0.8252 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4975, allocations: 0.8328 MB / 0.826 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.4979, allocations: 218.2 kB / 0.8262 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.4981, allocations: 99.31 kB / 0.8263 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.4981, allocations: 8.188 kB / 0.8263 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.4986, allocations: 285.6 kB / 0.8266 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.4986, allocations: 0 / 0.8266 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.0008253/0.4995, allocations: 463.3 kB / 0.827 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4995, allocations: 111 kB / 0.8272 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.4998, allocations: 268.2 kB / 0.8274 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.4998, allocations: 49.45 kB / 0.8275 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4999, allocations: 170.9 kB / 0.8276 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.5, allocations: 99.33 kB / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.5002, allocations: 152.8 kB / 0.8279 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5003, allocations: 342 kB / 0.8282 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.5009, allocations: 412.3 kB / 0.8286 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.5015, allocations: 0.7642 MB / 0.8293 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.5021, allocations: 0.58 MB / 0.8299 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5021, allocations: 0 / 0.8299 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001377/0.5034, allocations: 1.034 MB / 0.8309 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/0.5035, allocations: 187.6 kB / 0.8311 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5036, allocations: 7.469 kB / 0.8311 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5036, allocations: 7.047 kB / 0.8311 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.5037, allocations: 52.53 kB / 0.8311 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.5037, allocations: 11.06 kB / 0.8312 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.5043, allocations: 177 kB / 0.8313 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.5043, allocations: 51.05 kB / 0.8314 GB, free: 8.309 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.0001799/0.5045, allocations: 169 kB / 0.8315 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.5045, allocations: 37.61 kB / 0.8316 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.5046, allocations: 34.91 kB / 0.8316 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5046, allocations: 8.938 kB / 0.8316 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5046, allocations: 1.125 kB / 0.8316 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5046, allocations: 3.609 kB / 0.8316 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.5056, allocations: 0.8639 MB / 0.8325 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5056, allocations: 1.094 kB / 0.8325 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.5057, allocations: 49.39 kB / 0.8325 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5057, allocations: 2.281 kB / 0.8325 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5057, allocations: 12.7 kB / 0.8325 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5057, allocations: 2.219 kB / 0.8325 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5057, allocations: 1.594 kB / 0.8325 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.5065, allocations: 0.7129 MB / 0.8332 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.5065, allocations: 30.08 kB / 0.8333 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.5065, allocations: 13.33 kB / 0.8333 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5067, allocations: 19.75 kB / 0.8333 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.5067, allocations: 31.09 kB / 0.8333 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.5068, allocations: 19.36 kB / 0.8333 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001297/0.5069, allocations: 181.3 kB / 0.8335 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5069, allocations: 0 / 0.8335 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003968/0.5073, allocations: 114 kB / 0.8336 GB, free: 6.91 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.0009683/0.5083, allocations: 1.275 MB / 0.8349 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.5092, allocations: 0.9456 MB / 0.8358 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5092, allocations: 0 / 0.8358 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.5094, allocations: 141.6 kB / 0.8359 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.5099, allocations: 111 kB / 0.836 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.515, allocations: 5.017 MB / 0.8409 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.5152, allocations: 164.9 kB / 0.8411 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.5154, allocations: 54.86 kB / 0.8411 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5155, allocations: 113.5 kB / 0.8412 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.5155, allocations: 0 / 0.8412 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.5426, allocations: 11.43 MB / 0.8524 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.414, allocations: 10.34 kB / 0.8524 GB, free: 11.77 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.412817269098014] Failed to read output from testmodel.py, exit status != 0: 7.497799381613731 7.511225632 7.015730004 Calling exit ...