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.001217/0.001217, allocations: 109.1 kB / 16.41 MB, free: 6.438 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.001219/0.001219, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.582/1.582, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7686/0.7686, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.67 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.157, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5452/0.7022, allocations: 147.8 MB / 0.776 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.7024, allocations: 52.75 kB / 0.776 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.7025, allocations: 4 kB / 0.776 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.7026, allocations: 0 / 0.776 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.7028, allocations: 15.78 kB / 0.776 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.7033, allocations: 104.3 kB / 0.7761 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.7034, allocations: 36.33 kB / 0.7762 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.7034, allocations: 3.859 kB / 0.7762 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.7035, allocations: 18.17 kB / 0.7762 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.7035, allocations: 15.27 kB / 0.7762 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.7036, allocations: 1.281 kB / 0.7762 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.7038, allocations: 83.03 kB / 0.7763 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.7039, allocations: 9.672 kB / 0.7763 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.7039, allocations: 13.83 kB / 0.7763 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7041, allocations: 69.7 kB / 0.7764 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7041, allocations: 3.844 kB / 0.7764 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7042, allocations: 1.953 kB / 0.7764 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7042, allocations: 0 / 0.7764 GB, free: 14.2 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.000484/0.7047, allocations: 340.5 kB / 0.7767 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.7047, allocations: 9.938 kB / 0.7767 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.7048, allocations: 33.77 kB / 0.7767 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.705, allocations: 17.17 kB / 0.7768 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.7052, allocations: 161.6 kB / 0.7769 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.7052, allocations: 35.39 kB / 0.7769 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.7053, allocations: 0.5312 kB / 0.7769 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.7054, allocations: 52.11 kB / 0.777 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7054, allocations: 0 / 0.777 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7055, allocations: 0.5 kB / 0.777 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.7055, allocations: 5.688 kB / 0.777 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.7056, allocations: 17.81 kB / 0.777 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.706, allocations: 257.1 kB / 0.7773 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.529e-05/0.706, allocations: 26.59 kB / 0.7773 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.7061, allocations: 6.547 kB / 0.7773 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.7061, allocations: 0 / 0.7773 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.7061, allocations: 36.25 kB / 0.7773 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.7061, allocations: 1.656 kB / 0.7773 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.7063, allocations: 35.14 kB / 0.7774 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.7063, allocations: 62.45 kB / 0.7774 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.7065, allocations: 106.7 kB / 0.7775 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.7065, allocations: 26.2 kB / 0.7775 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.7066, allocations: 95.88 kB / 0.7776 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.7066, allocations: 1.188 kB / 0.7776 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7066, allocations: 20.25 kB / 0.7777 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7067, allocations: 311.9 kB / 0.778 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.7068, allocations: 6.594 kB / 0.778 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.7068, allocations: 34.25 kB / 0.778 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.7069, allocations: 29.55 kB / 0.778 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7069, allocations: 0.625 kB / 0.778 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.707, allocations: 53.66 kB / 0.7781 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.707, allocations: 5.625 kB / 0.7781 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.707, allocations: 4.719 kB / 0.7781 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7071, allocations: 1.031 kB / 0.7781 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.7071, allocations: 8.516 kB / 0.7781 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.7071, allocations: 9.25 kB / 0.7781 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.7072, allocations: 1.312 kB / 0.7781 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7072, allocations: 6.109 kB / 0.7781 GB, free: 12.43 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 8.067e-05/0.7073, allocations: 108.6 kB / 0.7782 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.7073, allocations: 1.844 kB / 0.7782 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.7074, allocations: 14.62 kB / 0.7782 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7074, allocations: 0.5 kB / 0.7782 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7074, allocations: 3.938 kB / 0.7782 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7074, allocations: 0.5 kB / 0.7782 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.7077, allocations: 347.7 kB / 0.7786 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7077, allocations: 2.391 kB / 0.7786 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.7078, allocations: 1.562 kB / 0.7786 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7078, allocations: 4.469 kB / 0.7786 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.7078, allocations: 1.656 kB / 0.7786 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.7078, allocations: 4.688 kB / 0.7786 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7078, allocations: 0 / 0.7786 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.553e-05/0.7079, allocations: 65.44 kB / 0.7786 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.708, allocations: 82.17 kB / 0.7787 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.708, allocations: 3.203 kB / 0.7787 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.7081, allocations: 2.594 kB / 0.7787 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.7081, allocations: 0.5625 kB / 0.7787 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.7081, allocations: 8.531 kB / 0.7787 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.7082, allocations: 85.33 kB / 0.7788 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7082, allocations: 1.703 kB / 0.7788 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001948/0.7084, allocations: 5.875 kB / 0.7788 GB, free: 11.66 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.000422/0.7088, allocations: 0.5974 MB / 0.7794 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.7089, allocations: 16.38 kB / 0.7794 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7089, allocations: 0 / 0.7794 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.7089, allocations: 2.062 kB / 0.7794 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.7092, allocations: 7.234 kB / 0.7794 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.7097, allocations: 153.4 kB / 0.7796 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.71, allocations: 0.6814 MB / 0.7802 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.7101, allocations: 4.5 kB / 0.7802 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.7101, allocations: 8.469 kB / 0.7803 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.7101, allocations: 1.594 kB / 0.7803 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.7315, allocations: 1.377 MB / 0.7816 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/9.627, allocations: 11.36 kB / 0.7816 GB, free: 9.863 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)