Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.8246/0.8246, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 176.4 kB / 173.7 MB, free: 6.141 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.712/1.712, allocations: 205.4 MB / 409 MB, free: 10.53 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.000934/0.0009342, allocations: 95.84 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 9.062 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1653, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7615/0.9269, allocations: 337 MB / 0.9645 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.9273, allocations: 70.78 kB / 0.9646 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02603/0.9534, allocations: 11.6 MB / 0.9759 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9534, allocations: 3.938 kB / 0.9759 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9534, allocations: 0 / 0.9759 GB, free: 11.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003958/0.9538, allocations: 342.8 kB / 0.9762 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.9539, allocations: 16.02 kB / 0.9763 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.954, allocations: 30.56 kB / 0.9763 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.954, allocations: 3.953 kB / 0.9763 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.9541, allocations: 159.1 kB / 0.9764 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/0.9542, allocations: 33.7 kB / 0.9765 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.9542, allocations: 0 / 0.9765 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.9544, allocations: 49.36 kB / 0.9765 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9544, allocations: 0 / 0.9765 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9545, allocations: 0 / 0.9765 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.9545, allocations: 7.953 kB / 0.9765 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.9545, allocations: 11.62 kB / 0.9765 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.955, allocations: 330 kB / 0.9768 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.9551, allocations: 18.58 kB / 0.9769 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.9552, allocations: 93.09 kB / 0.977 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.9552, allocations: 34.52 kB / 0.977 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 4.288e-06/0.9552, allocations: 3.984 kB / 0.977 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.9554, allocations: 37.42 kB / 0.977 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.9554, allocations: 55.41 kB / 0.9771 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.9555, allocations: 97.11 kB / 0.9772 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.9556, allocations: 25.7 kB / 0.9772 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.9556, allocations: 87.61 kB / 0.9773 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.9556, allocations: 0 / 0.9773 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.9557, allocations: 3.938 kB / 0.9773 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9558, allocations: 314.8 kB / 0.9776 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.9558, allocations: 3.984 kB / 0.9776 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.9558, allocations: 21.47 kB / 0.9776 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.9559, allocations: 8 kB / 0.9776 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9559, allocations: 0 / 0.9776 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.964e-05/0.956, allocations: 44.88 kB / 0.9777 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.956, allocations: 9.25 kB / 0.9777 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.956, allocations: 0 / 0.9777 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.956, allocations: 7.891 kB / 0.9777 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.9561, allocations: 4 kB / 0.9777 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.9561, allocations: 4 kB / 0.9777 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.9561, allocations: 13.69 kB / 0.9777 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.9561, allocations: 3.984 kB / 0.9777 GB, free: 9.535 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.041e-05/0.9562, allocations: 113.5 kB / 0.9778 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.9563, allocations: 0 / 0.9778 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.9564, allocations: 120.8 kB / 0.9779 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-05/0.9565, allocations: 191.8 kB / 0.9781 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.727e-05/0.9566, allocations: 180.3 kB / 0.9783 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.16e-05/0.9566, allocations: 184.2 kB / 0.9785 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.9569, allocations: 400.5 kB / 0.9788 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.9569, allocations: 105 kB / 0.9789 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.957, allocations: 108.9 kB / 0.979 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-05/0.957, allocations: 180.3 kB / 0.9792 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.9571, allocations: 182.6 kB / 0.9794 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.629e-05/0.9572, allocations: 185 kB / 0.9796 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.605e-05/0.9572, allocations: 187.8 kB / 0.9797 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.9574, allocations: 295.8 kB / 0.98 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.9575, allocations: 193.8 kB / 0.9802 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.9576, allocations: 180.3 kB / 0.9804 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.9577, allocations: 104.9 kB / 0.9805 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.9578, allocations: 184.2 kB / 0.9807 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.9578, allocations: 108.9 kB / 0.9808 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.9579, allocations: 86.78 kB / 0.9808 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9579, allocations: 0 / 0.9808 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003171/0.9582, allocations: 12 kB / 0.9809 GB, free: 6.105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000552/0.9588, allocations: 0.8436 MB / 0.9817 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.9589, allocations: 15.92 kB / 0.9817 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9589, allocations: 0 / 0.9817 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-06/0.9589, allocations: 3.938 kB / 0.9817 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.9593, allocations: 0.5226 MB / 0.9822 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.9597, allocations: 217.6 kB / 0.9824 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.96, allocations: 0.677 MB / 0.9831 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.96, allocations: 11.95 kB / 0.9831 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.9601, allocations: 7.438 kB / 0.9831 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.9601, allocations: 0 / 0.9831 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.9736, allocations: 1.562 MB / 0.9846 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.9739, allocations: 195.5 kB / 0.9848 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.481, allocations: 0 / 0.9848 GB, free: 2.07 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)