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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001635, allocations: 97.86 kB / 16.4 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 197.1 kB / 17.34 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6852/0.6852, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 59.59 kB / 0.5572 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1431, allocations: 76.19 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4655/0.6086, allocations: 147.8 MB / 0.776 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.6088, allocations: 53.14 kB / 0.776 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.6088, allocations: 0 / 0.776 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.6089, allocations: 3.938 kB / 0.776 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.6091, allocations: 9.031 kB / 0.776 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.6095, allocations: 111.2 kB / 0.7761 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.6096, allocations: 33.39 kB / 0.7762 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.6096, allocations: 5.5 kB / 0.7762 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.6096, allocations: 17.73 kB / 0.7762 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.6097, allocations: 14.27 kB / 0.7762 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.6097, allocations: 1.219 kB / 0.7762 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.61, allocations: 81.98 kB / 0.7763 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.6101, allocations: 12.55 kB / 0.7763 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.6101, allocations: 8.281 kB / 0.7763 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.6102, allocations: 80.33 kB / 0.7764 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6103, allocations: 0 / 0.7764 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6103, allocations: 0 / 0.7764 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.6103, allocations: 0 / 0.7764 GB, free: 14.15 MB / 0.5919 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.0003616/0.6106, allocations: 340.7 kB / 0.7767 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6107, allocations: 8.688 kB / 0.7767 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.6107, allocations: 31.84 kB / 0.7767 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.6109, allocations: 24.67 kB / 0.7768 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.6111, allocations: 171.1 kB / 0.7769 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.6111, allocations: 31.23 kB / 0.7769 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.6111, allocations: 1.062 kB / 0.7769 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.6113, allocations: 46.72 kB / 0.777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6113, allocations: 0 / 0.777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6113, allocations: 0.5625 kB / 0.777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6113, allocations: 3.359 kB / 0.777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.6114, allocations: 18.73 kB / 0.777 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.6117, allocations: 258.8 kB / 0.7773 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/0.6118, allocations: 24.42 kB / 0.7773 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.6118, allocations: 5.984 kB / 0.7773 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/0.6118, allocations: 0.5 kB / 0.7773 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6119, allocations: 35.56 kB / 0.7773 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6119, allocations: 0.5312 kB / 0.7773 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.612, allocations: 40.38 kB / 0.7774 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.612, allocations: 56.38 kB / 0.7774 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.6121, allocations: 108.1 kB / 0.7775 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.6121, allocations: 28.05 kB / 0.7775 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.6122, allocations: 91.55 kB / 0.7776 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.6122, allocations: 3.234 kB / 0.7776 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.6122, allocations: 24.12 kB / 0.7777 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.6123, allocations: 317.9 kB / 0.778 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.6124, allocations: 3.188 kB / 0.778 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.6124, allocations: 21.66 kB / 0.778 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.6124, allocations: 39.73 kB / 0.778 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6125, allocations: 2.047 kB / 0.778 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.47e-05/0.6125, allocations: 54.75 kB / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6126, allocations: 5.469 kB / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6126, allocations: 1.188 kB / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6126, allocations: 3.453 kB / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.6127, allocations: 5.406 kB / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6127, allocations: 5.031 kB / 0.7781 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.6127, allocations: 2.531 kB / 0.7781 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.6127, allocations: 9.578 kB / 0.7781 GB, free: 12.38 MB / 0.5919 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 6.471e-05/0.6128, allocations: 110.3 kB / 0.7782 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.6128, allocations: 5.375 kB / 0.7782 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.6128, allocations: 4.953 kB / 0.7782 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.6129, allocations: 0.5312 kB / 0.7782 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6129, allocations: 4.469 kB / 0.7782 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6129, allocations: 4.609 kB / 0.7782 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.6131, allocations: 346.3 kB / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6131, allocations: 0 / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.6131, allocations: 2.219 kB / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6131, allocations: 4.5 kB / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.6132, allocations: 0.5 kB / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6132, allocations: 3.078 kB / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6132, allocations: 4.5 kB / 0.7786 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.31e-05/0.6132, allocations: 64.02 kB / 0.7786 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.6133, allocations: 88.11 kB / 0.7787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.6133, allocations: 1.062 kB / 0.7787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.6134, allocations: 4.203 kB / 0.7787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.6134, allocations: 1.156 kB / 0.7787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.6134, allocations: 0.7188 kB / 0.7787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.6135, allocations: 85.27 kB / 0.7788 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6135, allocations: 0.5 kB / 0.7788 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001947/0.6137, allocations: 10.38 kB / 0.7788 GB, free: 11.62 MB / 0.5919 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.0002921/0.614, allocations: 0.5971 MB / 0.7794 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.6141, allocations: 16.69 kB / 0.7794 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6141, allocations: 0.5938 kB / 0.7794 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.6141, allocations: 1.625 kB / 0.7794 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.6143, allocations: 14.91 kB / 0.7794 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.6147, allocations: 152.3 kB / 0.7796 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.6149, allocations: 0.6747 MB / 0.7802 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.6149, allocations: 6.266 kB / 0.7802 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.615, allocations: 9.344 kB / 0.7803 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.615, allocations: 4 kB / 0.7803 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.63, allocations: 1.367 MB / 0.7816 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.819, allocations: 10.23 kB / 0.7816 GB, free: 9.82 MB / 0.5919 GB (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 --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)