Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001188/0.001188, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001334/0.001334, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.002356/0.002356, allocations: 290.5 kB / 313.5 MB, free: 2.805 MB / 238.1 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 1.154/1.154, allocations: 180.6 MB / 0.5377 GB, free: 12.93 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 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",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.002781/0.002781, allocations: 103.2 kB / 0.7404 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1721, allocations: 95.38 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1753/0.3473, allocations: 151.2 MB / 0.9811 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001489/0.3475, allocations: 59.8 kB / 0.9812 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3475, allocations: 0 / 0.9812 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.466e-05/0.3476, allocations: 4 kB / 0.9812 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.3477, allocations: 11.91 kB / 0.9812 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3481, allocations: 108.4 kB / 0.9813 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.3482, allocations: 35.84 kB / 0.9813 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.787e-05/0.3482, allocations: 0 / 0.9813 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.3483, allocations: 19.97 kB / 0.9814 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.3483, allocations: 19.86 kB / 0.9814 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.3483, allocations: 0 / 0.9814 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.3486, allocations: 91.77 kB / 0.9815 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.3486, allocations: 15.98 kB / 0.9815 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.3487, allocations: 11.92 kB / 0.9815 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3488, allocations: 72.08 kB / 0.9816 GB, free: 420 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3488, allocations: 4 kB / 0.9816 GB, free: 416 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3488, allocations: 0 / 0.9816 GB, free: 416 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3488, allocations: 0 / 0.9816 GB, free: 416 kB / 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.000364/0.3492, allocations: 272.8 kB / 0.9818 GB, free: 116 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3492, allocations: 12.69 kB / 0.9818 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/0.3492, allocations: 192 / 0.9818 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.3493, allocations: 30.75 kB / 0.9819 GB, free: 64 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.3495, allocations: 24.88 kB / 0.9819 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3073/0.6567, allocations: 108.8 kB / 0.982 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.6568, allocations: 51.92 kB / 0.982 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.6568, allocations: 4.531 kB / 0.982 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.657, allocations: 47.64 kB / 0.9821 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.657, allocations: 1.125 kB / 0.9821 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.657, allocations: 3.875 kB / 0.9821 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.657, allocations: 6.453 kB / 0.9821 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.6571, allocations: 25.09 kB / 0.9821 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.6574, allocations: 221.5 kB / 0.9823 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.313e-05/0.6575, allocations: 18.03 kB / 0.9824 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.6575, allocations: 13.89 kB / 0.9824 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.6575, allocations: 2.156 kB / 0.9824 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.6575, allocations: 32.78 kB / 0.9824 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.6575, allocations: 3.75 kB / 0.9824 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.6576, allocations: 38.14 kB / 0.9824 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.6576, allocations: 52.47 kB / 0.9825 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.6577, allocations: 108.2 kB / 0.9826 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.6577, allocations: 26.5 kB / 0.9826 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.6577, allocations: 89.27 kB / 0.9827 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.6577, allocations: 9.953 kB / 0.9827 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.6578, allocations: 20.55 kB / 0.9827 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.6578, allocations: 312.8 kB / 0.983 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.6578, allocations: 4.359 kB / 0.983 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.6579, allocations: 23.97 kB / 0.9831 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.6579, allocations: 31.3 kB / 0.9831 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6579, allocations: 2.375 kB / 0.9831 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.46e-05/0.658, allocations: 56.53 kB / 0.9831 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.658, allocations: 5.594 kB / 0.9832 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.658, allocations: 1.328 kB / 0.9832 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.658, allocations: 4.578 kB / 0.9832 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.6581, allocations: 14.12 kB / 0.9832 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6581, allocations: 1.297 kB / 0.9832 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.6581, allocations: 5.375 kB / 0.9832 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.6581, allocations: 1 kB / 0.9832 GB, free: 152.8 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.599e-05/0.6582, allocations: 109.9 kB / 0.9833 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.6582, allocations: 9.453 kB / 0.9833 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.6582, allocations: 13.42 kB / 0.9833 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.6582, allocations: 0.9062 kB / 0.9833 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6582, allocations: 2.391 kB / 0.9833 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.6582, allocations: 1.094 kB / 0.9833 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.6584, allocations: 318.8 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6584, allocations: 1.031 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.6584, allocations: 1.422 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6584, allocations: 0.6875 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.6584, allocations: 3.875 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6584, allocations: 2.969 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6584, allocations: 0 / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.856e-05/0.6585, allocations: 61.8 kB / 0.9837 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.6585, allocations: 1.875 kB / 0.9837 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6585, allocations: 1.375 kB / 0.9837 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.6586, allocations: 6.516 kB / 0.9837 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.6586, allocations: 1.547 kB / 0.9837 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.6586, allocations: 0.8438 kB / 0.9837 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.6586, allocations: 85.61 kB / 0.9838 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.6586, allocations: 3.938 kB / 0.9838 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002002/0.6588, allocations: 6.281 kB / 0.9838 GB, free: 152.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001908/0.659, allocations: 0.6072 MB / 0.9844 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.6591, allocations: 13.58 kB / 0.9844 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6591, allocations: 0.9062 kB / 0.9844 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.6591, allocations: 1.625 kB / 0.9844 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.6593, allocations: 13.19 kB / 0.9844 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.6596, allocations: 137.6 kB / 0.9845 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.009e-05/0.6597, allocations: 0.6754 MB / 0.9852 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.6598, allocations: 8.672 kB / 0.9852 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.6598, allocations: 8.766 kB / 0.9852 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6598, allocations: 5.391 kB / 0.9852 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.6809, allocations: 1.52 MB / 0.9867 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.1, allocations: 3.547 kB / 0.9867 GB, free: 150.4 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.034945763007272] Failed to read output from testmodel.py, exit status != 0: 11.255026193975937 11.273380809 10.92052419 Calling exit ...