Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001676/0.001676, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002148/0.002148, allocations: 219 kB / 23 MB, free: 5.004 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9893/0.9893, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002371/0.002371, allocations: 62.16 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1929, allocations: 89.17 MB / 0.7284 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5911/0.784, allocations: 151.2 MB / 0.876 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.7842, allocations: 53.53 kB / 0.876 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.7842, allocations: 3.938 kB / 0.876 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.7843, allocations: 4 kB / 0.876 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.7844, allocations: 18.91 kB / 0.876 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.7849, allocations: 107.6 kB / 0.8761 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.785, allocations: 35.86 kB / 0.8762 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.7851, allocations: 3.984 kB / 0.8762 GB, free: 32 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.7851, allocations: 17.11 kB / 0.8762 GB, free: 16 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.7852, allocations: 19.92 kB / 0.8762 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.7852, allocations: 0 / 0.8762 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.7855, allocations: 87.7 kB / 0.8763 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.7856, allocations: 11.97 kB / 0.8763 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.7856, allocations: 11.94 kB / 0.8763 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.7858, allocations: 73.62 kB / 0.8764 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7858, allocations: 4 kB / 0.8764 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7858, allocations: 0 / 0.8764 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.7858, allocations: 0 / 0.8764 GB, free: 15.81 MB / 0.6544 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.0004304/0.7862, allocations: 266.3 kB / 0.8766 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7863, allocations: 12.97 kB / 0.8767 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.7863, allocations: 30.75 kB / 0.8767 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.7866, allocations: 20.92 kB / 0.8767 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.7867, allocations: 106.5 kB / 0.8768 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/0.7868, allocations: 55.34 kB / 0.8769 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7868, allocations: 3.938 kB / 0.8769 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.7869, allocations: 53.61 kB / 0.8769 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.7869, allocations: 0 / 0.8769 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7869, allocations: 0 / 0.8769 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.7869, allocations: 4 kB / 0.8769 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.787, allocations: 18.05 kB / 0.8769 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.7874, allocations: 243.9 kB / 0.8772 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.7875, allocations: 18.58 kB / 0.8772 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.7875, allocations: 8.859 kB / 0.8772 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.7875, allocations: 3.938 kB / 0.8772 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.7876, allocations: 34.56 kB / 0.8772 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7876, allocations: 0 / 0.8772 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.7877, allocations: 37.75 kB / 0.8773 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.7878, allocations: 55.34 kB / 0.8773 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.7879, allocations: 102.4 kB / 0.8774 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.7879, allocations: 25.7 kB / 0.8774 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.788, allocations: 96.08 kB / 0.8775 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.788, allocations: 3.953 kB / 0.8775 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.788, allocations: 17.84 kB / 0.8776 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7882, allocations: 314.8 kB / 0.8779 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.7882, allocations: 7.984 kB / 0.8779 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.7882, allocations: 22.52 kB / 0.8779 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.7883, allocations: 30.58 kB / 0.8779 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7883, allocations: 0.5 kB / 0.8779 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.7884, allocations: 53.62 kB / 0.878 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7884, allocations: 4 kB / 0.878 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7884, allocations: 4 kB / 0.878 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7884, allocations: 3.938 kB / 0.878 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.7885, allocations: 18.55 kB / 0.878 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.7885, allocations: 7.938 kB / 0.878 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.7885, allocations: 3.953 kB / 0.878 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.7885, allocations: 4.094 kB / 0.878 GB, free: 13.94 MB / 0.6544 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 8.374e-05/0.7886, allocations: 115.8 kB / 0.8781 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.7886, allocations: 0 / 0.8781 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.7887, allocations: 11.09 kB / 0.8781 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.7887, allocations: 0 / 0.8781 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7887, allocations: 3.938 kB / 0.8781 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.7887, allocations: 0 / 0.8781 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.789, allocations: 329.7 kB / 0.8785 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.789, allocations: 0 / 0.8785 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.789, allocations: 4 kB / 0.8785 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.789, allocations: 3.938 kB / 0.8785 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.789, allocations: 0 / 0.8785 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.789, allocations: 0 / 0.8785 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.789, allocations: 0 / 0.8785 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.646e-05/0.7891, allocations: 61.22 kB / 0.8785 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.7891, allocations: 15.94 kB / 0.8785 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.7891, allocations: 0 / 0.8785 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.7892, allocations: 4 kB / 0.8785 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.7892, allocations: 0.6875 kB / 0.8785 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.7892, allocations: 0 / 0.8785 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.7893, allocations: 89.64 kB / 0.8786 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.7893, allocations: 0 / 0.8786 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000196/0.7895, allocations: 8 kB / 0.8786 GB, free: 13.23 MB / 0.6544 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.0004087/0.7899, allocations: 0.6007 MB / 0.8792 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.79, allocations: 11.94 kB / 0.8792 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.79, allocations: 0 / 0.8792 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/0.79, allocations: 0 / 0.8792 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.7903, allocations: 8.281 kB / 0.8792 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.7907, allocations: 141.2 kB / 0.8794 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.791, allocations: 0.6729 MB / 0.88 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.221e-05/0.791, allocations: 7.984 kB / 0.88 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.7911, allocations: 11.44 kB / 0.88 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7911, allocations: 0 / 0.88 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.821, allocations: 1.473 MB / 0.8815 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.1, allocations: 21.67 kB / 0.8815 GB, free: 10.37 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.918867978034541] Failed to read output from testmodel.py, exit status != 0: 12.212586147943512 12.242252084 11.450752553 Calling exit ...