Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.0008629/0.0008629, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0008309/0.0008309, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.924/0.924, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5638/0.5638, allocations: 114 MB / 373.9 MB, free: 8.695 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.PIDInitialState,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.5542 GB, free: 1.656 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.426e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00303/0.003054, allocations: 1.612 MB / 0.5558 GB, free: 40 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.00511, allocations: 1.283 MB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.005363, allocations: 11.94 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.005612, allocations: 75.19 kB / 0.5572 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.005925, allocations: 75.38 kB / 0.5572 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.006226, allocations: 163.6 kB / 0.5574 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.006717, allocations: 496.9 kB / 0.5579 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.007073, allocations: 187.9 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.007399, allocations: 267.4 kB / 0.5583 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.007593, allocations: 143.5 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.007671, allocations: 52 kB / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.225e-05/0.007723, allocations: 56 kB / 0.5585 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.007809, allocations: 115.6 kB / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.007931, allocations: 135.5 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.008515, allocations: 0.6073 MB / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008518, allocations: 0 / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.00852, allocations: 0 / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.008529, allocations: 0 / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001239/0.009767, allocations: 0.7455 MB / 0.5601 GB, free: 11.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.009814, allocations: 8.625 kB / 0.5601 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.317e-05/0.009897, allocations: 78.72 kB / 0.5602 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.035e-05/0.009988, allocations: 60.61 kB / 0.5602 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.01048, allocations: 289.4 kB / 0.5605 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.01052, allocations: 33.38 kB / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.01058, allocations: 44.38 kB / 0.5606 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.01128, allocations: 459 kB / 0.561 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.0113, allocations: 192 / 0.561 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.01133, allocations: 20.36 kB / 0.561 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.01135, allocations: 12.12 kB / 0.5611 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.0119, allocations: 279.8 kB / 0.5613 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.01359, allocations: 1.222 MB / 0.5625 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.01405, allocations: 242.8 kB / 0.5627 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.0142, allocations: 114.7 kB / 0.5629 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.01422, allocations: 0 / 0.5629 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.01424, allocations: 34.56 kB / 0.5629 GB, free: 8.613 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.01424, allocations: 0 / 0.5629 GB, free: 8.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004274/0.01467, allocations: 302.6 kB / 0.5632 GB, free: 8.312 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.01472, allocations: 110.8 kB / 0.5633 GB, free: 8.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.01503, allocations: 417.5 kB / 0.5637 GB, free: 7.762 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.01505, allocations: 29.7 kB / 0.5637 GB, free: 7.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.01518, allocations: 252.2 kB / 0.564 GB, free: 7.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.01521, allocations: 75.38 kB / 0.564 GB, free: 7.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.01529, allocations: 74.02 kB / 0.5641 GB, free: 7.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.01538, allocations: 346.8 kB / 0.5644 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.01553, allocations: 114.1 kB / 0.5645 GB, free: 6.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01575, allocations: 311.2 kB / 0.5648 GB, free: 6.488 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.01605, allocations: 282.4 kB / 0.5651 GB, free: 6.188 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01605, allocations: 0 / 0.5651 GB, free: 6.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004131/0.01646, allocations: 376.5 kB / 0.5655 GB, free: 5.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01647, allocations: 4 kB / 0.5655 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01648, allocations: 4 kB / 0.5655 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.0165, allocations: 4 kB / 0.5655 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01664, allocations: 71.89 kB / 0.5655 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01665, allocations: 7.938 kB / 0.5655 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.01678, allocations: 51.78 kB / 0.5656 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.0168, allocations: 19.98 kB / 0.5656 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001715/0.01697, allocations: 200.8 kB / 0.5658 GB, free: 5.457 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.01715, allocations: 290.3 kB / 0.5661 GB, free: 5.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002061/0.01735, allocations: 229.8 kB / 0.5663 GB, free: 4.863 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.01735, allocations: 4 kB / 0.5663 GB, free: 4.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003082/0.01766, allocations: 319.2 kB / 0.5666 GB, free: 4.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.01767, allocations: 8 kB / 0.5666 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.01767, allocations: 0 / 0.5666 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.01768, allocations: 4 kB / 0.5666 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01779, allocations: 63.91 kB / 0.5667 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.0178, allocations: 4 kB / 0.5667 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.01791, allocations: 44.08 kB / 0.5667 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01792, allocations: 15.98 kB / 0.5667 GB, free: 4.406 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001198/0.01804, allocations: 209.4 kB / 0.5669 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.01808, allocations: 35.77 kB / 0.567 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.01841, allocations: 240.9 kB / 0.5672 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01841, allocations: 0 / 0.5672 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.01842, allocations: 15.94 kB / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01842, allocations: 0 / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/0.01921, allocations: 0.7115 MB / 0.5679 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01921, allocations: 0 / 0.5679 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01931, allocations: 48.06 kB / 0.568 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01932, allocations: 4 kB / 0.568 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01933, allocations: 8 kB / 0.568 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01933, allocations: 0 / 0.568 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01934, allocations: 4 kB / 0.568 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.01978, allocations: 461.4 kB / 0.5684 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.01983, allocations: 51.73 kB / 0.5685 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.01986, allocations: 8 kB / 0.5685 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.01996, allocations: 15.98 kB / 0.5685 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.01998, allocations: 15.97 kB / 0.5685 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01999, allocations: 4 kB / 0.5685 GB, free: 2.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.02019, allocations: 291.2 kB / 0.5688 GB, free: 2.211 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02019, allocations: 3.938 kB / 0.5688 GB, free: 2.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000319/0.02051, allocations: 135.7 kB / 0.5689 GB, free: 2.074 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006294/0.02113, allocations: 0.9966 MB / 0.5699 GB, free: 1.039 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.02162, allocations: 362.1 kB / 0.5702 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02162, allocations: 0 / 0.5702 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.02173, allocations: 91.83 kB / 0.5703 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.0221, allocations: 70.52 kB / 0.5704 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.02507, allocations: 3.421 MB / 0.5737 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.02519, allocations: 199.8 kB / 0.5739 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.0253, allocations: 47.25 kB / 0.574 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.02544, allocations: 140.5 kB / 0.5741 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.02544, allocations: 0 / 0.5741 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.05503, allocations: 7.902 MB / 0.5818 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.109, allocations: 4.484 kB / 0.5818 GB, free: 4.859 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.691282615996897] Failed to read output from testmodel.py, exit status != 0: 7.195504181087017 7.203835968 7.193641192 Calling exit ...