Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7994/0.7994, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 164.9 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009057/0.0009058, allocations: 87.38 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.544e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1684, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.44/11.61, allocations: 4.566 GB / 5.194 GB, free: 61.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/11.61, allocations: 83.94 kB / 5.194 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08231/11.69, allocations: 45.58 MB / 5.239 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.436e-06/11.69, allocations: 4 kB / 5.239 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.516e-06/11.69, allocations: 4 kB / 5.239 GB, free: 14.63 MB / 0.6511 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.0003425/11.69, allocations: 338.4 kB / 5.239 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/11.69, allocations: 8.031 kB / 5.239 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/11.69, allocations: 30.56 kB / 5.239 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/11.69, allocations: 15.98 kB / 5.239 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/11.69, allocations: 163.1 kB / 5.239 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/11.69, allocations: 37.66 kB / 5.239 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/11.69, allocations: 4 kB / 5.239 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/11.69, allocations: 41.69 kB / 5.239 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/11.69, allocations: 0 / 5.239 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/11.69, allocations: 3.984 kB / 5.239 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/11.69, allocations: 4 kB / 5.239 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/11.69, allocations: 23.86 kB / 5.239 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/11.7, allocations: 261.7 kB / 5.24 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/11.7, allocations: 18.58 kB / 5.24 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/11.7, allocations: 8.922 kB / 5.24 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/11.7, allocations: 3.984 kB / 5.24 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/11.7, allocations: 30.56 kB / 5.24 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/11.7, allocations: 0 / 5.24 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001295/11.7, allocations: 37.55 kB / 5.24 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/11.7, allocations: 59.44 kB / 5.24 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/11.7, allocations: 96.98 kB / 5.24 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/11.7, allocations: 25.7 kB / 5.24 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/11.7, allocations: 88.05 kB / 5.24 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/11.7, allocations: 3.906 kB / 5.24 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/11.7, allocations: 4 kB / 5.24 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/11.7, allocations: 314.8 kB / 5.24 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/11.7, allocations: 4 kB / 5.24 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/11.7, allocations: 30.56 kB / 5.24 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/11.7, allocations: 11.94 kB / 5.24 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/11.7, allocations: 3.938 kB / 5.24 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.746e-05/11.7, allocations: 53.62 kB / 5.24 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/11.7, allocations: 4 kB / 5.24 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/11.7, allocations: 4.094 kB / 5.24 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/11.7, allocations: 4 kB / 5.24 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/11.7, allocations: 4 kB / 5.24 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/11.7, allocations: 0 / 5.24 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/11.7, allocations: 7.938 kB / 5.24 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/11.7, allocations: 0 / 5.24 GB, free: 12.68 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/11.7, allocations: 104.9 kB / 5.241 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/11.7, allocations: 7.984 kB / 5.241 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/11.7, allocations: 7.125 kB / 5.241 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/11.7, allocations: 4 kB / 5.241 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/11.7, allocations: 0 / 5.241 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/11.7, allocations: 0 / 5.241 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/11.7, allocations: 346.7 kB / 5.241 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/11.7, allocations: 0 / 5.241 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/11.7, allocations: 4 kB / 5.241 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/11.7, allocations: 0 / 5.241 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/11.7, allocations: 0 / 5.241 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/11.7, allocations: 0 / 5.241 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/11.7, allocations: 8.016 kB / 5.241 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.241e-05/11.7, allocations: 69 kB / 5.241 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/11.7, allocations: 77.11 kB / 5.241 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/11.7, allocations: 3.938 kB / 5.241 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/11.7, allocations: 7.984 kB / 5.241 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/11.7, allocations: 3.938 kB / 5.241 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/11.7, allocations: 0 / 5.241 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.947e-05/11.7, allocations: 83.31 kB / 5.241 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/11.7, allocations: 0 / 5.241 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003249/11.7, allocations: 43.98 kB / 5.241 GB, free: 11.83 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007624/11.7, allocations: 1.057 MB / 5.242 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.55e-05/11.7, allocations: 15.94 kB / 5.242 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/11.7, allocations: 0 / 5.242 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/11.7, allocations: 12.12 kB / 5.242 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/11.7, allocations: 3.938 kB / 5.242 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/11.7, allocations: 95.08 kB / 5.242 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/11.7, allocations: 0.677 MB / 5.243 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.536e-05/11.7, allocations: 7.984 kB / 5.243 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/11.7, allocations: 15.48 kB / 5.243 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/11.7, allocations: 0 / 5.243 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4209/12.12, allocations: 12.31 MB / 5.255 GB, free: 210.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/12.12, allocations: 188.6 kB / 5.255 GB, free: 210.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/14.04, allocations: 3.375 kB / 5.255 GB, free: 210.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)