Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00116/0.00116, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001062/0.001062, allocations: 169.9 kB / 23.2 MB, free: 1.359 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 0.8885/0.8885, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5745/0.5745, allocations: 114 MB / 373.9 MB, free: 8.727 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.5543 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.384e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.0018/0.001824, allocations: 1.197 MB / 0.5554 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.003861, allocations: 1.715 MB / 0.5571 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.003984, allocations: 0 / 0.5571 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.004036, allocations: 19.69 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.00424, allocations: 95.27 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.005366, allocations: 0.6552 MB / 0.5578 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.005993, allocations: 0.7602 MB / 0.5586 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.006152, allocations: 52.83 kB / 0.5586 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.006588, allocations: 435.3 kB / 0.5591 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.006873, allocations: 215.5 kB / 0.5593 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.006951, allocations: 72 kB / 0.5593 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.007068, allocations: 79.98 kB / 0.5594 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.007129, allocations: 83.67 kB / 0.5595 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.007297, allocations: 211.6 kB / 0.5597 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.007974, allocations: 0.8143 MB / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007978, allocations: 0 / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00798, allocations: 0 / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.00799, allocations: 0 / 0.5605 GB, free: 12.32 MB / 0.5261 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.001143/0.009133, allocations: 0.8692 MB / 0.5613 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.009175, allocations: 8.625 kB / 0.5613 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.009221, allocations: 54.66 kB / 0.5614 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.009332, allocations: 52.75 kB / 0.5614 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.01012, allocations: 400.3 kB / 0.5618 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.01015, allocations: 28.38 kB / 0.5619 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.01022, allocations: 40.36 kB / 0.5619 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.01053, allocations: 225.5 kB / 0.5621 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.01054, allocations: 192 / 0.5621 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.01056, allocations: 12.36 kB / 0.5621 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.01057, allocations: 3.938 kB / 0.5621 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.01077, allocations: 127.9 kB / 0.5622 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01196, allocations: 0.8158 MB / 0.563 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.01236, allocations: 216.2 kB / 0.5632 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.01252, allocations: 106.4 kB / 0.5633 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.01255, allocations: 7.984 kB / 0.5634 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.01296, allocations: 285.4 kB / 0.5636 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.01296, allocations: 4 kB / 0.5636 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.0006955/0.01365, allocations: 465 kB / 0.5641 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.01371, allocations: 118.8 kB / 0.5642 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.0139, allocations: 264.1 kB / 0.5644 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.01395, allocations: 45.7 kB / 0.5645 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01405, allocations: 161 kB / 0.5646 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.01412, allocations: 103.2 kB / 0.5647 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.01428, allocations: 158 kB / 0.5649 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.01437, allocations: 342.8 kB / 0.5652 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.01478, allocations: 415 kB / 0.5656 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.0153, allocations: 0.7659 MB / 0.5664 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.01586, allocations: 0.5786 MB / 0.5669 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.01586, allocations: 0 / 0.5669 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001036/0.0169, allocations: 1.036 MB / 0.5679 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.01699, allocations: 186.6 kB / 0.5681 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.017, allocations: 7.938 kB / 0.5681 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.01702, allocations: 8 kB / 0.5681 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.01715, allocations: 55.89 kB / 0.5682 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.01716, allocations: 11.95 kB / 0.5682 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.01762, allocations: 183.5 kB / 0.5684 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.01768, allocations: 47.95 kB / 0.5684 GB, free: 3.516 MB / 0.5261 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.0001519/0.01783, allocations: 168 kB / 0.5686 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.01786, allocations: 35.8 kB / 0.5686 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.01792, allocations: 37.73 kB / 0.5686 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01792, allocations: 4 kB / 0.5686 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.01793, allocations: 3.938 kB / 0.5686 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01794, allocations: 4 kB / 0.5687 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.01902, allocations: 0.8598 MB / 0.5695 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01902, allocations: 4 kB / 0.5695 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01915, allocations: 47.91 kB / 0.5695 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.01915, allocations: 3.938 kB / 0.5695 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.01917, allocations: 15.98 kB / 0.5696 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01917, allocations: 0 / 0.5696 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01917, allocations: 0 / 0.5696 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.01986, allocations: 0.712 MB / 0.5703 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.0199, allocations: 31.78 kB / 0.5703 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.01993, allocations: 12 kB / 0.5703 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.02005, allocations: 15.98 kB / 0.5703 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.0201, allocations: 31.94 kB / 0.5703 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.02012, allocations: 16 kB / 0.5704 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001151/0.02023, allocations: 187 kB / 0.5705 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.02023, allocations: 0 / 0.5705 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003773/0.02061, allocations: 119.9 kB / 0.5707 GB, free: 1.141 MB / 0.5261 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.0009313/0.02154, allocations: 1.272 MB / 0.5719 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008606/0.0224, allocations: 0.9428 MB / 0.5728 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.02241, allocations: 4 kB / 0.5728 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.02261, allocations: 139.9 kB / 0.573 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.02313, allocations: 115.4 kB / 0.5731 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.02782, allocations: 4.999 MB / 0.5779 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.02794, allocations: 165 kB / 0.5781 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.02809, allocations: 51.27 kB / 0.5782 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.0282, allocations: 112.5 kB / 0.5783 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of SimCode: time 8.92e-07/0.0282, allocations: 4 kB / 0.5783 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.05384, allocations: 11.48 MB / 0.5895 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.18/7.234, allocations: 9.609 kB / 0.5895 GB, free: 13.68 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.809501805342734] Failed to read output from testmodel.py, exit status != 0: 7.32049950119108 7.329281302 7.319579964 Calling exit ...