Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.0007139/0.0007139, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007679/0.0007679, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8632/0.8632, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001384/0.001384, allocations: 228.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6691/0.6691, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.6462 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.079e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001738/0.001759, allocations: 1.275 MB / 0.6475 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3472/0.349, allocations: 120.9 MB / 0.7656 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.349, allocations: 0 / 0.7656 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.3491, allocations: 3.938 kB / 0.7656 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.3491, allocations: 7.922 kB / 0.7656 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3503, allocations: 454.2 kB / 0.766 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.3504, allocations: 43.83 kB / 0.7661 GB, free: 480 kB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.3505, allocations: 11.94 kB / 0.7661 GB, free: 468 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.3505, allocations: 23.92 kB / 0.7661 GB, free: 444 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.3506, allocations: 19.97 kB / 0.7661 GB, free: 424 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3506, allocations: 4 kB / 0.7661 GB, free: 420 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.3515, allocations: 0.7996 MB / 0.7669 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.3515, allocations: 7.984 kB / 0.7669 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.3516, allocations: 19.92 kB / 0.767 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.3521, allocations: 0.5575 MB / 0.7675 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3521, allocations: 0 / 0.7675 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3521, allocations: 0 / 0.7675 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3521, allocations: 0 / 0.7675 GB, free: 15.02 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004028/0.3525, allocations: 294.1 kB / 0.7678 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3526, allocations: 13.94 kB / 0.7678 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.3526, allocations: 30.75 kB / 0.7678 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3527, allocations: 16.02 kB / 0.7678 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.234e-05/0.3528, allocations: 109.7 kB / 0.7679 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3528, allocations: 4.375 kB / 0.7679 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3528, allocations: 8.969 kB / 0.768 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.353, allocations: 143 kB / 0.7681 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.353, allocations: 4 kB / 0.7681 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.353, allocations: 3.984 kB / 0.7681 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.353, allocations: 0 / 0.7681 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.353, allocations: 15.98 kB / 0.7681 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.3532, allocations: 142.1 kB / 0.7682 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.3532, allocations: 47.12 kB / 0.7683 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.3533, allocations: 16.78 kB / 0.7683 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005153/0.3584, allocations: 2.864 MB / 0.7711 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3584, allocations: 38.5 kB / 0.7711 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3585, allocations: 0 / 0.7711 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.02094/0.3794, allocations: 14.93 MB / 0.7857 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.3794, allocations: 51.41 kB / 0.7858 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.3795, allocations: 93.86 kB / 0.7859 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3795, allocations: 29.7 kB / 0.7859 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.3795, allocations: 84.12 kB / 0.786 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.3795, allocations: 43.64 kB / 0.786 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3796, allocations: 33.7 kB / 0.786 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.3797, allocations: 314.8 kB / 0.7863 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.3797, allocations: 23.98 kB / 0.7864 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.3797, allocations: 28.11 kB / 0.7864 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.3801, allocations: 65.55 kB / 0.7865 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3801, allocations: 1.375 kB / 0.7865 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001388/0.3802, allocations: 105.6 kB / 0.7866 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3802, allocations: 4.625 kB / 0.7866 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3802, allocations: 4 kB / 0.7866 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3802, allocations: 0 / 0.7866 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.3803, allocations: 27.98 kB / 0.7866 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3803, allocations: 3.938 kB / 0.7866 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.3803, allocations: 4 kB / 0.7866 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3804, allocations: 8 kB / 0.7866 GB, free: 11.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.241e-05/0.3804, allocations: 119.2 kB / 0.7867 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3804, allocations: 7.938 kB / 0.7867 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.3806, allocations: 117.5 kB / 0.7868 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3806, allocations: 4 kB / 0.7868 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3806, allocations: 3.938 kB / 0.7869 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3806, allocations: 3.984 kB / 0.7869 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.624e-05/0.3807, allocations: 143 kB / 0.787 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3807, allocations: 0 / 0.787 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.3808, allocations: 31.92 kB / 0.787 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3808, allocations: 0 / 0.787 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3808, allocations: 7.984 kB / 0.787 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3808, allocations: 0 / 0.787 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3808, allocations: 0 / 0.787 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.381, allocations: 157.8 kB / 0.7872 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3811, allocations: 12.98 kB / 0.7872 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3811, allocations: 7.984 kB / 0.7872 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.3812, allocations: 12 kB / 0.7872 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.3812, allocations: 11.92 kB / 0.7872 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3812, allocations: 8 kB / 0.7872 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.3812, allocations: 83.27 kB / 0.7873 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3812, allocations: 0 / 0.7873 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00154/0.3828, allocations: 0.566 MB / 0.7879 GB, free: 9.797 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002631/0.3854, allocations: 0.9698 MB / 0.7888 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3856, allocations: 63.91 kB / 0.7889 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3856, allocations: 4 kB / 0.7889 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.3856, allocations: 39.86 kB / 0.7889 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3858, allocations: 10.84 kB / 0.7889 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.3873, allocations: 1.487 MB / 0.7904 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.3874, allocations: 67.34 kB / 0.7904 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.014e-05/0.3874, allocations: 28.59 kB / 0.7905 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.3875, allocations: 24.5 kB / 0.7905 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.3875, allocations: 0 / 0.7905 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.4271, allocations: 26.2 MB / 0.8161 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.298, allocations: 6.641 kB / 0.8161 GB, free: 12.95 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.153912068344653] Failed to read output from testmodel.py, exit status != 0: 7.382986239157617 7.391571737 7.037704125 Calling exit ...