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.001315/0.001315, allocations: 103.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.00141/0.00141, allocations: 212.9 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.373/1.373, 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.002471/0.002471, allocations: 294.8 kB / 309.1 MB, free: 3.969 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.2/1.2, allocations: 180.9 MB / 0.5333 GB, free: 13.73 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.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.002743/0.002743, allocations: 104 kB / 0.7342 GB, free: 28.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1685, allocations: 95.34 MB / 0.8273 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1781/0.3466, allocations: 151.1 MB / 0.9749 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.3468, allocations: 55.78 kB / 0.975 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.3468, allocations: 0 / 0.975 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3469, allocations: 0 / 0.975 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.347, allocations: 19.91 kB / 0.975 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3475, allocations: 114.7 kB / 0.9751 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3476, allocations: 27.92 kB / 0.9752 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.3477, allocations: 4 kB / 0.9752 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.3477, allocations: 11.98 kB / 0.9752 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.3478, allocations: 23.86 kB / 0.9752 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3478, allocations: 0 / 0.9752 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.3481, allocations: 91.77 kB / 0.9753 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.3481, allocations: 15.97 kB / 0.9753 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.3481, allocations: 15.94 kB / 0.9753 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.3483, allocations: 68.06 kB / 0.9754 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3483, allocations: 0 / 0.9754 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3483, allocations: 4 kB / 0.9754 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3483, allocations: 0 / 0.9754 GB, free: 1.691 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.0004442/0.3487, allocations: 339.3 kB / 0.9757 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3488, allocations: 8.625 kB / 0.9757 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3488, allocations: 34.73 kB / 0.9757 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.349, allocations: 24.88 kB / 0.9758 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3492, allocations: 172.1 kB / 0.9759 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.3492, allocations: 29.7 kB / 0.976 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3492, allocations: 0 / 0.976 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3494, allocations: 49.62 kB / 0.976 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3494, allocations: 0 / 0.976 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3494, allocations: 0 / 0.976 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.3494, allocations: 11.98 kB / 0.976 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.557e-05/0.3495, allocations: 15.98 kB / 0.976 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3499, allocations: 252.9 kB / 0.9763 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.35, allocations: 18.58 kB / 0.9763 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.35, allocations: 12.73 kB / 0.9763 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.35, allocations: 4.031 kB / 0.9763 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.35, allocations: 34.62 kB / 0.9763 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.35, allocations: 4 kB / 0.9763 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.3502, allocations: 29.7 kB / 0.9764 GB, free: 500 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3502, allocations: 55.34 kB / 0.9764 GB, free: 432 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3504, allocations: 113.8 kB / 0.9765 GB, free: 308 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3504, allocations: 25.7 kB / 0.9766 GB, free: 276 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3505, allocations: 88.09 kB / 0.9766 GB, free: 184 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.3505, allocations: 8.062 kB / 0.9767 GB, free: 176 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3505, allocations: 21.67 kB / 0.9767 GB, free: 148 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.339/0.6895, allocations: 314.8 kB / 0.977 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.6895, allocations: 4.25 kB / 0.977 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.6896, allocations: 22.92 kB / 0.977 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.6896, allocations: 31.56 kB / 0.977 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6896, allocations: 0.8125 kB / 0.977 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001208/0.6897, allocations: 53.27 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6897, allocations: 5.312 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6898, allocations: 5.281 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.6898, allocations: 1.062 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.6899, allocations: 10.36 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6899, allocations: 3.156 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.6899, allocations: 4.719 kB / 0.9771 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.6899, allocations: 2.141 kB / 0.9771 GB, free: 154.4 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 6.046e-05/0.69, allocations: 113.9 kB / 0.9772 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.69, allocations: 9.922 kB / 0.9772 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.69, allocations: 6.859 kB / 0.9772 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.69, allocations: 4.469 kB / 0.9772 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6901, allocations: 0.5625 kB / 0.9772 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6901, allocations: 0.5625 kB / 0.9772 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.6903, allocations: 343.9 kB / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6903, allocations: 4.5 kB / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.6903, allocations: 1.625 kB / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.6903, allocations: 4.844 kB / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.6903, allocations: 0 / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.6903, allocations: 0.9062 kB / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6903, allocations: 3.984 kB / 0.9776 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.426e-05/0.6904, allocations: 60.19 kB / 0.9776 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.6904, allocations: 84 kB / 0.9777 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.6904, allocations: 0.7188 kB / 0.9777 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.6905, allocations: 9.891 kB / 0.9777 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.6905, allocations: 0.9062 kB / 0.9777 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6905, allocations: 1.688 kB / 0.9777 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.6905, allocations: 82.52 kB / 0.9778 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.6905, allocations: 0 / 0.9778 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002444/0.6908, allocations: 9.75 kB / 0.9778 GB, free: 153.6 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.0001969/0.691, allocations: 0.6033 MB / 0.9784 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.466e-05/0.6911, allocations: 13.36 kB / 0.9784 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6911, allocations: 0 / 0.9784 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.6911, allocations: 6.391 kB / 0.9784 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.6913, allocations: 13.2 kB / 0.9784 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.6916, allocations: 135.1 kB / 0.9786 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.817e-05/0.6917, allocations: 0.6761 MB / 0.9792 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.6918, allocations: 5.672 kB / 0.9792 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.6918, allocations: 10.09 kB / 0.9792 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6918, allocations: 0.5469 kB / 0.9792 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.7155, allocations: 1.398 MB / 0.9806 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/8.266, allocations: 16.73 kB / 0.9806 GB, free: 151.9 MB / 0.7169 GB " [Timeout remaining time 652] (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: 12.285953801125288] Failed to read output from testmodel.py, exit status != 0: 8.33320523565635 8.355084195 8.002145958 Calling exit ...