Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.001505/0.001505, allocations: 106.5 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00159/0.00159, allocations: 212 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.362/1.362, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 285.2 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.166/1.166, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002706/0.002706, allocations: 104.8 kB / 0.7342 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1627, allocations: 95.34 MB / 0.8273 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1744/0.337, allocations: 151.6 MB / 0.9754 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.3372, allocations: 55.86 kB / 0.9754 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.3372, allocations: 0 / 0.9754 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.406e-05/0.3373, allocations: 3.938 kB / 0.9754 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.3374, allocations: 11.97 kB / 0.9754 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.3381, allocations: 226.5 kB / 0.9756 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.3382, allocations: 31.91 kB / 0.9757 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.3382, allocations: 7.922 kB / 0.9757 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.3383, allocations: 15.94 kB / 0.9757 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.3383, allocations: 15.97 kB / 0.9757 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3383, allocations: 7.938 kB / 0.9757 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.3387, allocations: 211.4 kB / 0.9759 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.3388, allocations: 11.92 kB / 0.9759 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.3388, allocations: 11.98 kB / 0.9759 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.339, allocations: 111.9 kB / 0.976 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3391, allocations: 4 kB / 0.9761 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3391, allocations: 4 kB / 0.9761 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.3391, allocations: 0 / 0.9761 GB, free: 1.125 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004096/0.3395, allocations: 339.4 kB / 0.9764 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3395, allocations: 12.03 kB / 0.9764 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.3395, allocations: 34.75 kB / 0.9764 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.3398, allocations: 28.86 kB / 0.9765 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.34, allocations: 172.1 kB / 0.9766 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.34, allocations: 29.7 kB / 0.9766 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.34, allocations: 0 / 0.9766 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3401, allocations: 53.67 kB / 0.9767 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3402, allocations: 0 / 0.9767 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3402, allocations: 0 / 0.9767 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3402, allocations: 0 / 0.9767 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.3402, allocations: 23.98 kB / 0.9767 GB, free: 348 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3406, allocations: 256.9 kB / 0.977 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3451/0.6857, allocations: 31.17 kB / 0.977 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.6858, allocations: 10.45 kB / 0.977 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.6859, allocations: 88.58 kB / 0.9771 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.686, allocations: 39.59 kB / 0.9771 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.364e-06/0.686, allocations: 4.281 kB / 0.9771 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003007/0.6863, allocations: 48.8 kB / 0.9772 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.6863, allocations: 56.34 kB / 0.9772 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.6864, allocations: 101.7 kB / 0.9773 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6864, allocations: 26.2 kB / 0.9774 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.6864, allocations: 86.98 kB / 0.9774 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.6864, allocations: 9.391 kB / 0.9774 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.6865, allocations: 19.66 kB / 0.9775 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.6865, allocations: 316 kB / 0.9778 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.6865, allocations: 4.031 kB / 0.9778 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.6866, allocations: 27.27 kB / 0.9778 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.6866, allocations: 33.25 kB / 0.9778 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6866, allocations: 0.5625 kB / 0.9778 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.85e-05/0.6867, allocations: 54.69 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6867, allocations: 9.266 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6867, allocations: 0.8125 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6867, allocations: 2.172 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.6868, allocations: 12.42 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6868, allocations: 1.547 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.6868, allocations: 5.031 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.6868, allocations: 1.844 kB / 0.9779 GB, free: 154.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 4.948e-05/0.6869, allocations: 114 kB / 0.978 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.6869, allocations: 1.875 kB / 0.978 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.6869, allocations: 12 kB / 0.978 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6869, allocations: 0 / 0.978 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6869, allocations: 0.9688 kB / 0.978 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6869, allocations: 0.5625 kB / 0.978 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.6872, allocations: 364.6 kB / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6872, allocations: 1.781 kB / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.6872, allocations: 5.516 kB / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6872, allocations: 0 / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.6872, allocations: 4.812 kB / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6872, allocations: 0.9688 kB / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6872, allocations: 4.547 kB / 0.9784 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.233e-05/0.6873, allocations: 73.41 kB / 0.9785 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.6873, allocations: 79.66 kB / 0.9785 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6873, allocations: 6.172 kB / 0.9785 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.6874, allocations: 4.234 kB / 0.9786 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.6874, allocations: 5.578 kB / 0.9786 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.6874, allocations: 4.844 kB / 0.9786 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.462e-05/0.6874, allocations: 84.62 kB / 0.9786 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.6874, allocations: 4.75 kB / 0.9786 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002029/0.6876, allocations: 5.688 kB / 0.9787 GB, free: 153.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0002289/0.6879, allocations: 0.6094 MB / 0.9792 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.688, allocations: 18.67 kB / 0.9793 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.688, allocations: 0.7812 kB / 0.9793 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.688, allocations: 7.141 kB / 0.9793 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.6882, allocations: 12.61 kB / 0.9793 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.6885, allocations: 150.9 kB / 0.9794 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.6886, allocations: 0.6798 MB / 0.9801 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.6887, allocations: 5.891 kB / 0.9801 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.6887, allocations: 10 kB / 0.9801 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6887, allocations: 0 / 0.9801 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.7109, allocations: 1.475 MB / 0.9816 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.299, allocations: 11.17 kB / 0.9816 GB, free: 151.5 MB / 0.7169 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.196435082238168] Failed to read output from testmodel.py, exit status != 0: 8.363868868909776 8.377245241 8.035134112 Calling exit ...