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.001368/0.001368, allocations: 105 kB / 20.48 MB, free: 1.488 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.001575/0.001575, allocations: 215.7 kB / 23.79 MB, free: 4.703 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.975/0.975, allocations: 150 MB / 464 MB, free: 10.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",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.002189/0.002189, allocations: 66.48 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1969, allocations: 89.16 MB / 0.7291 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6197/0.8166, allocations: 151.2 MB / 0.8767 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.8168, allocations: 49.48 kB / 0.8768 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.8168, allocations: 4 kB / 0.8768 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.8169, allocations: 7.984 kB / 0.8768 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.817, allocations: 6.938 kB / 0.8768 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.8176, allocations: 119.6 kB / 0.8769 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.8177, allocations: 31.91 kB / 0.8769 GB, free: 12 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.8177, allocations: 0 / 0.8769 GB, free: 12 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.8178, allocations: 16.05 kB / 0.877 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.8179, allocations: 19.8 kB / 0.877 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.8179, allocations: 0 / 0.877 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.8182, allocations: 87.77 kB / 0.8771 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.8183, allocations: 11.98 kB / 0.8771 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.8183, allocations: 11.88 kB / 0.8771 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.8185, allocations: 81.66 kB / 0.8772 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8185, allocations: 0 / 0.8772 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8185, allocations: 0 / 0.8772 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8185, allocations: 0 / 0.8772 GB, free: 15.79 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.0004616/0.819, allocations: 262.3 kB / 0.8774 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.819, allocations: 10.09 kB / 0.8774 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.819, allocations: 192 / 0.8774 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.8191, allocations: 38.73 kB / 0.8775 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.8193, allocations: 16.92 kB / 0.8775 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8194, allocations: 110.3 kB / 0.8776 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/0.8195, allocations: 55.34 kB / 0.8776 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.8195, allocations: 4 kB / 0.8776 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.8197, allocations: 53.61 kB / 0.8777 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8197, allocations: 0 / 0.8777 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8197, allocations: 4 kB / 0.8777 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.8197, allocations: 3.984 kB / 0.8777 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.8198, allocations: 23.98 kB / 0.8777 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.8202, allocations: 239.9 kB / 0.8779 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.379e-05/0.8202, allocations: 22.52 kB / 0.878 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.8203, allocations: 4.859 kB / 0.878 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-06/0.8203, allocations: 4.062 kB / 0.878 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.8203, allocations: 34.56 kB / 0.878 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.8203, allocations: 0 / 0.878 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.8204, allocations: 29.7 kB / 0.878 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.8205, allocations: 55.34 kB / 0.8781 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8206, allocations: 106.5 kB / 0.8782 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.8206, allocations: 29.7 kB / 0.8782 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.8207, allocations: 89.97 kB / 0.8783 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.8207, allocations: 8.078 kB / 0.8783 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.8207, allocations: 21.7 kB / 0.8783 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8208, allocations: 314.8 kB / 0.8786 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.8209, allocations: 4 kB / 0.8786 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.8209, allocations: 26.56 kB / 0.8787 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.8209, allocations: 30.58 kB / 0.8787 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8209, allocations: 0.9375 kB / 0.8787 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.554e-05/0.821, allocations: 53.62 kB / 0.8787 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.821, allocations: 8 kB / 0.8788 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.821, allocations: 3.938 kB / 0.8788 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8211, allocations: 0 / 0.8788 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.8211, allocations: 11.94 kB / 0.8788 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8211, allocations: 0 / 0.8788 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.8212, allocations: 8.047 kB / 0.8788 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.8212, allocations: 6.25 kB / 0.8788 GB, free: 13.91 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 9.085e-05/0.8213, allocations: 113.8 kB / 0.8789 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.8213, allocations: 7.938 kB / 0.8789 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.8213, allocations: 7.156 kB / 0.8789 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8213, allocations: 3.938 kB / 0.8789 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8213, allocations: 3.938 kB / 0.8789 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.8213, allocations: 0 / 0.8789 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.8216, allocations: 325.8 kB / 0.8792 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8216, allocations: 0 / 0.8792 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.8216, allocations: 7.922 kB / 0.8792 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.8216, allocations: 0 / 0.8792 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.8216, allocations: 0 / 0.8792 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.8216, allocations: 0 / 0.8792 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8216, allocations: 4 kB / 0.8792 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.174e-05/0.8217, allocations: 57.17 kB / 0.8793 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.8217, allocations: 11.89 kB / 0.8793 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.8217, allocations: 0 / 0.8793 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.8218, allocations: 3.984 kB / 0.8793 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.8218, allocations: 4 kB / 0.8793 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.8218, allocations: 4.75 kB / 0.8793 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.8219, allocations: 83.28 kB / 0.8794 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8219, allocations: 0 / 0.8794 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001901/0.8221, allocations: 8 kB / 0.8794 GB, free: 13.2 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.0004768/0.8226, allocations: 0.5929 MB / 0.88 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.017e-05/0.8227, allocations: 15.92 kB / 0.88 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8227, allocations: 0 / 0.88 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.8227, allocations: 4.219 kB / 0.88 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.8229, allocations: 14.31 kB / 0.88 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.8233, allocations: 137.2 kB / 0.8801 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.8237, allocations: 0.6768 MB / 0.8808 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.8238, allocations: 12.06 kB / 0.8808 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.8238, allocations: 11.44 kB / 0.8808 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.8238, allocations: 0 / 0.8808 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.8495, allocations: 1.496 MB / 0.8823 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.04, allocations: 10.28 kB / 0.8823 GB, free: 10.34 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: 16.044712883012835] Failed to read output from testmodel.py, exit status != 0: 12.205115269054659 12.233747401 11.409530805 Calling exit ...