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.001246/0.001246, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001447/0.001447, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 8.004 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.002471/0.002471, allocations: 287.5 kB / 312.7 MB, free: 2.801 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.148/1.148, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.00283/0.00283, allocations: 104.3 kB / 0.7396 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1689, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1912/0.3601, allocations: 151.2 MB / 0.9804 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.3602, allocations: 55.84 kB / 0.9804 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.3603, allocations: 0 / 0.9804 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.3604, allocations: 7.938 kB / 0.9804 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.3604, allocations: 15.97 kB / 0.9804 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.3609, allocations: 104.7 kB / 0.9805 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.361, allocations: 39.84 kB / 0.9806 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.3611, allocations: 0 / 0.9806 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.3611, allocations: 19.97 kB / 0.9806 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.3612, allocations: 15.92 kB / 0.9806 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3612, allocations: 0 / 0.9806 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.3614, allocations: 99.7 kB / 0.9807 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.3615, allocations: 8 kB / 0.9807 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.3615, allocations: 19.91 kB / 0.9807 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3617, allocations: 64.14 kB / 0.9808 GB, free: 484 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3617, allocations: 0 / 0.9808 GB, free: 484 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3617, allocations: 0 / 0.9808 GB, free: 484 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3617, allocations: 0 / 0.9808 GB, free: 484 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.0003647/0.362, allocations: 270.2 kB / 0.981 GB, free: 184 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3621, allocations: 8.75 kB / 0.9811 GB, free: 176 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.3621, allocations: 38.75 kB / 0.9811 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.3623, allocations: 20.88 kB / 0.9811 GB, free: 108 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3297/0.6921, allocations: 106.7 kB / 0.9812 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.6922, allocations: 55.56 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.6922, allocations: 1.5 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.6923, allocations: 46 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6923, allocations: 0.5 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6924, allocations: 3.594 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.6924, allocations: 10 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.6925, allocations: 18.45 kB / 0.9813 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.6928, allocations: 229.3 kB / 0.9816 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.6929, allocations: 19.31 kB / 0.9816 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.6929, allocations: 10.52 kB / 0.9816 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.6929, allocations: 0 / 0.9816 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.6929, allocations: 41.34 kB / 0.9816 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.6929, allocations: 0.5625 kB / 0.9816 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.6931, allocations: 32.78 kB / 0.9817 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.6931, allocations: 51.41 kB / 0.9817 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.6931, allocations: 111.9 kB / 0.9818 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.6932, allocations: 26.2 kB / 0.9818 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.6932, allocations: 88.22 kB / 0.9819 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.6932, allocations: 12.2 kB / 0.9819 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.6932, allocations: 16.45 kB / 0.982 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.6933, allocations: 316.3 kB / 0.9823 GB, free: 153 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.6933, allocations: 4.172 kB / 0.9823 GB, free: 153 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.6933, allocations: 26.09 kB / 0.9823 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.6934, allocations: 31.28 kB / 0.9823 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6934, allocations: 3.75 kB / 0.9823 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.85e-05/0.6934, allocations: 56.7 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6935, allocations: 4.844 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6935, allocations: 1.562 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6935, allocations: 4.922 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.6935, allocations: 8.328 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6936, allocations: 1.484 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.6936, allocations: 2.797 kB / 0.9824 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.6936, allocations: 7.688 kB / 0.9824 GB, free: 152.9 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 5.686e-05/0.6937, allocations: 113.5 kB / 0.9825 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.6937, allocations: 10.22 kB / 0.9825 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.6937, allocations: 4.531 kB / 0.9825 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6937, allocations: 0 / 0.9825 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6937, allocations: 1.578 kB / 0.9825 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6937, allocations: 0 / 0.9825 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.6939, allocations: 326.3 kB / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6939, allocations: 0 / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.6939, allocations: 2.938 kB / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.6939, allocations: 0 / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.6939, allocations: 0.8125 kB / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6939, allocations: 2.5 kB / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6939, allocations: 0.75 kB / 0.9828 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.513e-05/0.694, allocations: 70.5 kB / 0.9829 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.694, allocations: 2.703 kB / 0.9829 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.694, allocations: 1.062 kB / 0.9829 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.6941, allocations: 4.156 kB / 0.9829 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.6941, allocations: 0.6094 kB / 0.9829 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.6941, allocations: 0.7812 kB / 0.9829 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.6942, allocations: 86.75 kB / 0.983 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.6942, allocations: 0 / 0.983 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001883/0.6943, allocations: 6.844 kB / 0.983 GB, free: 152.3 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.0001954/0.6945, allocations: 0.5986 MB / 0.9836 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.6946, allocations: 20.16 kB / 0.9836 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6946, allocations: 0 / 0.9836 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.6946, allocations: 2.406 kB / 0.9836 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.6949, allocations: 12.38 kB / 0.9836 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.6952, allocations: 140.2 kB / 0.9838 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.559e-05/0.6953, allocations: 0.6761 MB / 0.9844 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.6953, allocations: 5.219 kB / 0.9844 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.6953, allocations: 17.42 kB / 0.9844 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6953, allocations: 0.875 kB / 0.9844 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.7219, allocations: 1.484 MB / 0.9859 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.4, allocations: 7.922 kB / 0.9859 GB, free: 150.5 MB / 0.7169 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_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.366062712997518] Failed to read output from testmodel.py, exit status != 0: 11.506842414997664 11.522797862 11.157478481 Calling exit ...