Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.00134/0.00134, allocations: 109 kB / 20.48 MB, free: 1.473 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.001444/0.001444, allocations: 207 kB / 23.78 MB, free: 4.688 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.496/1.496, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9673/0.9673, allocations: 150 MB / 464 MB, free: 10.48 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.00202/0.00202, allocations: 71.3 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1947, allocations: 89.18 MB / 0.7291 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6166/0.8113, allocations: 151.6 MB / 0.8771 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.8114, allocations: 55.34 kB / 0.8772 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.8115, allocations: 0 / 0.8772 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.8116, allocations: 4 kB / 0.8772 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.8117, allocations: 10.8 kB / 0.8772 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.8126, allocations: 227.1 kB / 0.8774 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.8127, allocations: 31.92 kB / 0.8775 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.8128, allocations: 1.688 kB / 0.8775 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.8128, allocations: 19.92 kB / 0.8775 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.8129, allocations: 15.92 kB / 0.8775 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.8129, allocations: 0 / 0.8775 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.8135, allocations: 219.4 kB / 0.8777 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.8135, allocations: 7.984 kB / 0.8777 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.8136, allocations: 19.86 kB / 0.8777 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.814, allocations: 113.5 kB / 0.8778 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.814, allocations: 4 kB / 0.8778 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.814, allocations: 0 / 0.8778 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.814, allocations: 0 / 0.8778 GB, free: 15.13 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.000485/0.8145, allocations: 262.2 kB / 0.8781 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8145, allocations: 12.03 kB / 0.8781 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.985e-05/0.8146, allocations: 4.188 kB / 0.8781 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.8146, allocations: 30.75 kB / 0.8781 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.815, allocations: 24.91 kB / 0.8782 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.8151, allocations: 118.2 kB / 0.8783 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.8152, allocations: 55.41 kB / 0.8783 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.8152, allocations: 2.438 kB / 0.8783 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.8153, allocations: 45.69 kB / 0.8784 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8153, allocations: 4 kB / 0.8784 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.8154, allocations: 0 / 0.8784 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.8154, allocations: 4 kB / 0.8784 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.8154, allocations: 19.98 kB / 0.8784 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.8158, allocations: 235.9 kB / 0.8786 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.161e-05/0.8159, allocations: 22.52 kB / 0.8786 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.8159, allocations: 16.92 kB / 0.8787 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.8161, allocations: 19.92 kB / 0.8787 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.8161, allocations: 31.5 kB / 0.8787 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8161, allocations: 0 / 0.8787 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002683/0.8164, allocations: 45.69 kB / 0.8788 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.8164, allocations: 67.41 kB / 0.8788 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.8165, allocations: 101.8 kB / 0.8789 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.8165, allocations: 25.7 kB / 0.8789 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.8166, allocations: 88.09 kB / 0.879 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.8166, allocations: 7.938 kB / 0.879 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.8167, allocations: 21.7 kB / 0.879 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8168, allocations: 310.8 kB / 0.8793 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.8168, allocations: 8 kB / 0.8794 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.8169, allocations: 26.56 kB / 0.8794 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.8169, allocations: 30.52 kB / 0.8794 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8169, allocations: 0 / 0.8794 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.817, allocations: 53.72 kB / 0.8795 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8171, allocations: 12 kB / 0.8795 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8171, allocations: 3.938 kB / 0.8795 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8171, allocations: 0 / 0.8795 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.8171, allocations: 8.5 kB / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.8171, allocations: 3.938 kB / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.8172, allocations: 0 / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8172, allocations: 5 kB / 0.8795 GB, free: 13.22 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.892e-05/0.8173, allocations: 113.8 kB / 0.8796 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.8173, allocations: 8.234 kB / 0.8796 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.8173, allocations: 11.31 kB / 0.8796 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8173, allocations: 3.984 kB / 0.8796 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8173, allocations: 3.938 kB / 0.8796 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.8173, allocations: 0 / 0.8796 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.8177, allocations: 334.6 kB / 0.8799 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8177, allocations: 0 / 0.8799 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.8177, allocations: 8.688 kB / 0.88 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8177, allocations: 4.062 kB / 0.88 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.8177, allocations: 0 / 0.88 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8177, allocations: 3.938 kB / 0.88 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8177, allocations: 0 / 0.88 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.8179, allocations: 77.92 kB / 0.88 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.8179, allocations: 7.891 kB / 0.88 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.8179, allocations: 4.75 kB / 0.88 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.818, allocations: 4.031 kB / 0.88 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.818, allocations: 7.984 kB / 0.8801 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.818, allocations: 0 / 0.8801 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.818, allocations: 79.28 kB / 0.8801 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.818, allocations: 0 / 0.8801 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002009/0.8182, allocations: 12 kB / 0.8801 GB, free: 12.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004659/0.8187, allocations: 0.6093 MB / 0.8807 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.8188, allocations: 15.94 kB / 0.8808 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8188, allocations: 4 kB / 0.8808 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.8188, allocations: 4.266 kB / 0.8808 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.8191, allocations: 8.688 kB / 0.8808 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.8196, allocations: 154 kB / 0.8809 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.8199, allocations: 0.6806 MB / 0.8816 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.408e-05/0.82, allocations: 8 kB / 0.8816 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.82, allocations: 11.42 kB / 0.8816 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.82, allocations: 3.938 kB / 0.8816 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.8489, allocations: 1.597 MB / 0.8832 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.16, allocations: 6.125 kB / 0.8832 GB, free: 9.434 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.124804791994393] Failed to read output from testmodel.py, exit status != 0: 12.32994378200965 12.360374643 11.540558647 Calling exit ...