Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.001101/0.001101, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.8353/0.8353, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001479/0.001479, allocations: 234 kB / 259.4 MB, free: 13.02 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.6484/0.6484, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6462 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.154e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001771/0.001793, allocations: 1.34 MB / 0.6476 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3639/0.3657, allocations: 130.1 MB / 0.7746 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.3657, allocations: 0 / 0.7746 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3658, allocations: 0 / 0.7746 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3659, allocations: 19.84 kB / 0.7746 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.3667, allocations: 335.3 kB / 0.7749 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3668, allocations: 63.75 kB / 0.775 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.3668, allocations: 4 kB / 0.775 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.3668, allocations: 35.95 kB / 0.775 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.3669, allocations: 35.89 kB / 0.7751 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3669, allocations: 0 / 0.7751 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.3675, allocations: 386.5 kB / 0.7754 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.3675, allocations: 15.92 kB / 0.7754 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.3676, allocations: 23.97 kB / 0.7755 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3678, allocations: 167.5 kB / 0.7756 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3678, allocations: 0 / 0.7756 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3678, allocations: 3.938 kB / 0.7756 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3678, allocations: 0 / 0.7756 GB, free: 6.617 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003582/0.3682, allocations: 313 kB / 0.7759 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3682, allocations: 17.94 kB / 0.7759 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.3682, allocations: 39.48 kB / 0.776 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.3685, allocations: 34.28 kB / 0.776 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.3688, allocations: 110.2 kB / 0.7761 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3688, allocations: 4.375 kB / 0.7761 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.3689, allocations: 20.06 kB / 0.7761 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.369, allocations: 202.2 kB / 0.7763 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.369, allocations: 0 / 0.7763 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.369, allocations: 8 kB / 0.7763 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3691, allocations: 1.219 kB / 0.7763 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.3691, allocations: 47.89 kB / 0.7764 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.3693, allocations: 148.7 kB / 0.7765 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3694, allocations: 88.06 kB / 0.7766 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3694, allocations: 28.78 kB / 0.7766 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.3696, allocations: 23.98 kB / 0.7767 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3696, allocations: 42.48 kB / 0.7767 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.3696, allocations: 0 / 0.7767 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0008953/0.3705, allocations: 483.3 kB / 0.7772 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3705, allocations: 55.41 kB / 0.7772 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.3706, allocations: 89.86 kB / 0.7773 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3706, allocations: 37.69 kB / 0.7773 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.3706, allocations: 84.52 kB / 0.7774 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.3707, allocations: 77.75 kB / 0.7775 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3707, allocations: 37.7 kB / 0.7775 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.3708, allocations: 322.8 kB / 0.7778 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.3708, allocations: 36.58 kB / 0.7779 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.3709, allocations: 80.22 kB / 0.778 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.371, allocations: 112 kB / 0.7781 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.371, allocations: 0 / 0.7781 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001527/0.3711, allocations: 162.4 kB / 0.7782 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3712, allocations: 8 kB / 0.7782 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3712, allocations: 0 / 0.7782 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3712, allocations: 0 / 0.7782 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3713, allocations: 47.92 kB / 0.7783 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3713, allocations: 4 kB / 0.7783 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.3713, allocations: 4 kB / 0.7783 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.3713, allocations: 8 kB / 0.7783 GB, free: 3.645 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.403e-05/0.3714, allocations: 130.4 kB / 0.7784 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.3714, allocations: 10.2 kB / 0.7784 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.3714, allocations: 16.47 kB / 0.7784 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3714, allocations: 4 kB / 0.7784 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3715, allocations: 0 / 0.7784 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3715, allocations: 0 / 0.7784 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3716, allocations: 164.7 kB / 0.7786 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3716, allocations: 3.938 kB / 0.7786 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3717, allocations: 39.98 kB / 0.7786 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3717, allocations: 1.781 kB / 0.7786 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3717, allocations: 0 / 0.7786 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3717, allocations: 4 kB / 0.7786 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3717, allocations: 0 / 0.7786 GB, free: 3.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3719, allocations: 218.2 kB / 0.7789 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.372, allocations: 15.94 kB / 0.7789 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.372, allocations: 0 / 0.7789 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.372, allocations: 12.06 kB / 0.7789 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.372, allocations: 11.97 kB / 0.7789 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.372, allocations: 9.125 kB / 0.7789 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.3721, allocations: 79.28 kB / 0.779 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3721, allocations: 0 / 0.779 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000147/0.3722, allocations: 28 kB / 0.779 GB, free: 2.848 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.0004075/0.3726, allocations: 0.7437 MB / 0.7797 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3728, allocations: 108 kB / 0.7798 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3728, allocations: 0 / 0.7798 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.3728, allocations: 47.92 kB / 0.7799 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3731, allocations: 14.77 kB / 0.7799 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3743, allocations: 1.722 MB / 0.7816 GB, free: 108 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.232e-05/0.3743, allocations: 85.55 kB / 0.7817 GB, free: 4 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.3744, allocations: 28.62 kB / 0.7817 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.3744, allocations: 24.5 kB / 0.7817 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.3744, allocations: 0 / 0.7817 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.39, allocations: 3.141 MB / 0.7848 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.278/6.668, allocations: 8.703 kB / 0.7848 GB, free: 12.99 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.268634592182934] Failed to read output from testmodel.py, exit status != 0: 6.74629255477339 6.755437542 6.385726566 Calling exit ...