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.001819/0.001819, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.002271/0.002271, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.566/1.566, allocations: 230.6 MB / 254.2 MB, free: 15.08 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 1.105/1.105, allocations: 150 MB / 460.2 MB, free: 5.199 MB / 350.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.002175/0.002175, allocations: 63.19 kB / 0.6368 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1705, allocations: 89.14 MB / 0.7238 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6106/0.7811, allocations: 151.1 MB / 0.8714 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.7812, allocations: 50.97 kB / 0.8715 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.7812, allocations: 0 / 0.8715 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.7813, allocations: 5.094 kB / 0.8715 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.7814, allocations: 11.31 kB / 0.8715 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.7818, allocations: 109.7 kB / 0.8716 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.457e-05/0.7819, allocations: 38.45 kB / 0.8716 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.7819, allocations: 2.75 kB / 0.8716 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.782, allocations: 19.69 kB / 0.8716 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.782, allocations: 11.81 kB / 0.8717 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.7821, allocations: 4.031 kB / 0.8717 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.7823, allocations: 90.84 kB / 0.8717 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.7823, allocations: 10.17 kB / 0.8718 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.7823, allocations: 13.39 kB / 0.8718 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.7825, allocations: 71.56 kB / 0.8718 GB, free: 3.055 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7825, allocations: 0.7812 kB / 0.8718 GB, free: 3.055 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7825, allocations: 0.8438 kB / 0.8718 GB, free: 3.055 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.7825, allocations: 0.8438 kB / 0.8718 GB, free: 3.055 MB / 0.67 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.0005509/0.7831, allocations: 343.8 kB / 0.8722 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7831, allocations: 12.05 kB / 0.8722 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.16e-05/0.7831, allocations: 192 / 0.8722 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.7831, allocations: 32.91 kB / 0.8722 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.7833, allocations: 16.72 kB / 0.8722 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.7835, allocations: 173.9 kB / 0.8724 GB, free: 18.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.7835, allocations: 26.92 kB / 0.8724 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.7836, allocations: 2.781 kB / 0.8724 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.7837, allocations: 49.41 kB / 0.8725 GB, free: 18.4 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7837, allocations: 0.875 kB / 0.8725 GB, free: 18.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7837, allocations: 0.8438 kB / 0.8725 GB, free: 18.4 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.7837, allocations: 2.25 kB / 0.8725 GB, free: 18.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.7838, allocations: 22.8 kB / 0.8725 GB, free: 18.4 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.7841, allocations: 266.5 kB / 0.8727 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.7842, allocations: 24.14 kB / 0.8728 GB, free: 18.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.7842, allocations: 10.59 kB / 0.8728 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.7842, allocations: 1 kB / 0.8728 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.7842, allocations: 35.47 kB / 0.8728 GB, free: 18.05 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7842, allocations: 1.031 kB / 0.8728 GB, free: 18.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.7844, allocations: 30.98 kB / 0.8728 GB, free: 18.02 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.7844, allocations: 57.31 kB / 0.8729 GB, free: 17.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.7845, allocations: 111.2 kB / 0.873 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.7845, allocations: 26.39 kB / 0.873 GB, free: 17.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.7846, allocations: 93.27 kB / 0.8731 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-06/0.7846, allocations: 1.188 kB / 0.8731 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.7846, allocations: 18.47 kB / 0.8731 GB, free: 17.72 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7847, allocations: 311.9 kB / 0.8734 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.7848, allocations: 9.844 kB / 0.8734 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.7848, allocations: 23.73 kB / 0.8735 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.7848, allocations: 34.91 kB / 0.8735 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7848, allocations: 2.141 kB / 0.8735 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.505e-05/0.7849, allocations: 52.52 kB / 0.8736 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7849, allocations: 6.656 kB / 0.8736 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7849, allocations: 0 / 0.8736 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.7849, allocations: 3.031 kB / 0.8736 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.785, allocations: 13.78 kB / 0.8736 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.785, allocations: 6.672 kB / 0.8736 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.785, allocations: 5.922 kB / 0.8736 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.785, allocations: 1.938 kB / 0.8736 GB, free: 17.32 MB / 0.6856 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.96e-05/0.7851, allocations: 115.8 kB / 0.8737 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.7851, allocations: 1.969 kB / 0.8737 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.7852, allocations: 7.5 kB / 0.8737 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7852, allocations: 4.969 kB / 0.8737 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7852, allocations: 0.9062 kB / 0.8737 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7852, allocations: 0.6094 kB / 0.8737 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.7854, allocations: 348.6 kB / 0.874 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7854, allocations: 2.562 kB / 0.874 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.7855, allocations: 8.375 kB / 0.8741 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7855, allocations: 0.8438 kB / 0.8741 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.7855, allocations: 1.594 kB / 0.8741 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7855, allocations: 0.75 kB / 0.8741 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7855, allocations: 0.7812 kB / 0.8741 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.116e-05/0.7855, allocations: 56.39 kB / 0.8741 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.7856, allocations: 87.56 kB / 0.8742 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.7856, allocations: 1.922 kB / 0.8742 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.7857, allocations: 7.375 kB / 0.8742 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.7857, allocations: 1.5 kB / 0.8742 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.7857, allocations: 0.9062 kB / 0.8742 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.7857, allocations: 86.14 kB / 0.8743 GB, free: 16.58 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7857, allocations: 0.9375 kB / 0.8743 GB, free: 16.58 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001933/0.7859, allocations: 9.938 kB / 0.8743 GB, free: 16.58 MB / 0.6856 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.0003795/0.7863, allocations: 0.5965 MB / 0.8749 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.96e-05/0.7864, allocations: 15.73 kB / 0.8749 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7864, allocations: 0 / 0.8749 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.7864, allocations: 3.062 kB / 0.8749 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.7866, allocations: 10.95 kB / 0.8749 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.7869, allocations: 143.4 kB / 0.875 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.7873, allocations: 0.6799 MB / 0.8757 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 4.808e-05/0.7873, allocations: 7.016 kB / 0.8757 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.7873, allocations: 9.984 kB / 0.8757 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of SimCode: time 3.01e-07/0.7873, allocations: 0 / 0.8757 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.8047, allocations: 1.424 MB / 0.8771 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.152, allocations: 12.86 kB / 0.8771 GB, free: 14.81 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.305254812992644] Failed to read output from testmodel.py, exit status != 0: 9.277431836992037 9.295447129 8.509954281 Calling exit ...