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.001304/0.001304, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001441/0.001441, allocations: 215 kB / 20.13 MB, free: 2.949 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.405/1.405, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002376/0.002376, allocations: 289.8 kB / 309.8 MB, free: 3.449 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.04/1.04, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.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.002844/0.002844, allocations: 105.9 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5088, allocations: 95.34 MB / 0.8278 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1793/0.6881, allocations: 151.1 MB / 0.9754 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.6882, allocations: 59.73 kB / 0.9754 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.6883, allocations: 3.938 kB / 0.9754 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.6884, allocations: 7.984 kB / 0.9754 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.6885, allocations: 11.92 kB / 0.9755 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.6889, allocations: 107.6 kB / 0.9756 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.689, allocations: 31.91 kB / 0.9756 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.689, allocations: 4 kB / 0.9756 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.6891, allocations: 19.92 kB / 0.9756 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.6892, allocations: 23.91 kB / 0.9756 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.6892, allocations: 0 / 0.9756 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.6894, allocations: 83.73 kB / 0.9757 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.6895, allocations: 11.97 kB / 0.9757 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.6895, allocations: 19.92 kB / 0.9757 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.6896, allocations: 62.81 kB / 0.9758 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6896, allocations: 0 / 0.9758 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6896, allocations: 0 / 0.9758 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.6896, allocations: 0 / 0.9758 GB, free: 2.207 MB / 0.7012 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.0004077/0.6901, allocations: 347.4 kB / 0.9761 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6901, allocations: 8.031 kB / 0.9761 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.007e-05/0.6901, allocations: 192 / 0.9761 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.6901, allocations: 34.75 kB / 0.9762 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.6903, allocations: 20.92 kB / 0.9762 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6905, allocations: 171.9 kB / 0.9764 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.6905, allocations: 37.58 kB / 0.9764 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.6905, allocations: 0 / 0.9764 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.6907, allocations: 49.67 kB / 0.9764 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6907, allocations: 0 / 0.9764 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6907, allocations: 0 / 0.9764 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.6907, allocations: 4 kB / 0.9764 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.6908, allocations: 15.98 kB / 0.9765 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.6911, allocations: 260.9 kB / 0.9767 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.765e-05/0.6912, allocations: 22.52 kB / 0.9767 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.6912, allocations: 4.859 kB / 0.9767 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.6912, allocations: 0 / 0.9767 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.6912, allocations: 34.62 kB / 0.9768 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 2.585e-06/0.6912, allocations: 3.984 kB / 0.9768 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.6914, allocations: 37.73 kB / 0.9768 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.6914, allocations: 63.36 kB / 0.9769 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.6915, allocations: 105.8 kB / 0.977 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6915, allocations: 25.7 kB / 0.977 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.6916, allocations: 96.03 kB / 0.9771 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.6916, allocations: 0 / 0.9771 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.6916, allocations: 21.67 kB / 0.9771 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6917, allocations: 314.8 kB / 0.9774 GB, free: 340 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.6918, allocations: 11.98 kB / 0.9774 GB, free: 328 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.6918, allocations: 22.58 kB / 0.9774 GB, free: 296 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.6918, allocations: 30.52 kB / 0.9775 GB, free: 256 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6918, allocations: 0 / 0.9775 GB, free: 256 kB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.78e-05/0.6919, allocations: 57.69 kB / 0.9775 GB, free: 192 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6919, allocations: 8 kB / 0.9775 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.692, allocations: 0 / 0.9775 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.692, allocations: 3.938 kB / 0.9775 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.692, allocations: 7.984 kB / 0.9775 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.692, allocations: 4 kB / 0.9775 GB, free: 168 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.6921, allocations: 0 / 0.9775 GB, free: 168 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.6921, allocations: 4 kB / 0.9776 GB, free: 164 kB / 0.7012 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 7.896e-05/0.6922, allocations: 113.3 kB / 0.9777 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.6922, allocations: 11.97 kB / 0.9777 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.6922, allocations: 3.125 kB / 0.9777 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6922, allocations: 3.938 kB / 0.9777 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6922, allocations: 0 / 0.9777 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6922, allocations: 0 / 0.9777 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.6925, allocations: 350.7 kB / 0.978 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6925, allocations: 3.938 kB / 0.978 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.6925, allocations: 4 kB / 0.978 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.6925, allocations: 256 / 0.978 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.6925, allocations: 4.031 kB / 0.978 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6925, allocations: 4 kB / 0.978 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6925, allocations: 0 / 0.978 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.125e-05/0.6926, allocations: 65.06 kB / 0.9781 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.6927, allocations: 81.05 kB / 0.9782 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.6927, allocations: 0 / 0.9782 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.6928, allocations: 4 kB / 0.9782 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-06/0.6928, allocations: 4.031 kB / 0.9782 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-06/0.6928, allocations: 0 / 0.9782 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.6928, allocations: 87.27 kB / 0.9783 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.6928, allocations: 0 / 0.9783 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001864/0.693, allocations: 8 kB / 0.9783 GB, free: 15.33 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.000353/0.6934, allocations: 0.6007 MB / 0.9789 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.759e-05/0.6934, allocations: 15.94 kB / 0.9789 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6934, allocations: 0 / 0.9789 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.6934, allocations: 4 kB / 0.9789 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.6937, allocations: 7.938 kB / 0.9789 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.694, allocations: 144.4 kB / 0.979 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.6943, allocations: 0.6768 MB / 0.9797 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.6943, allocations: 7.984 kB / 0.9797 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.6943, allocations: 7.438 kB / 0.9797 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6943, allocations: 0 / 0.9797 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.7113, allocations: 1.437 MB / 0.9811 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.431, allocations: 11.3 kB / 0.9811 GB, free: 12.54 MB / 0.7169 GB " [Timeout remaining time 651] (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: 12.222565215954091] Failed to read output from testmodel.py, exit status != 0: 8.555587557028048 8.576949209 7.883057155 Calling exit ...