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: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7182/0.7182, allocations: 127.3 MB / 139.8 MB, free: 15.41 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.001154/0.001154, allocations: 192.7 kB / 169.7 MB, free: 1.727 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.724/1.724, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.000929/0.0009291, allocations: 93.97 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.218e-05, allocations: 4 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 76.76 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.399, allocations: 336.9 MB / 0.9572 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.399, allocations: 75.95 kB / 0.9572 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02043/1.42, allocations: 11.54 MB / 0.9685 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.497e-06/1.42, allocations: 0 / 0.9685 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.42, allocations: 3.938 kB / 0.9685 GB, free: 185.8 MB / 0.6355 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.0002622/1.42, allocations: 334.4 kB / 0.9688 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.42, allocations: 12.03 kB / 0.9689 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/1.42, allocations: 7.938 kB / 0.9689 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/1.42, allocations: 167 kB / 0.969 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/1.421, allocations: 25.7 kB / 0.969 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/1.421, allocations: 0 / 0.969 GB, free: 185.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.421, allocations: 41.69 kB / 0.9691 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.421, allocations: 0 / 0.9691 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.421, allocations: 0 / 0.9691 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/1.421, allocations: 7.953 kB / 0.9691 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/1.421, allocations: 23.92 kB / 0.9691 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/1.421, allocations: 322.1 kB / 0.9694 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.178e-05/1.421, allocations: 18.58 kB / 0.9694 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/1.421, allocations: 4.859 kB / 0.9694 GB, free: 184.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/1.421, allocations: 89.14 kB / 0.9695 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/1.421, allocations: 38.52 kB / 0.9696 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.421, allocations: 0 / 0.9696 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/1.421, allocations: 37.64 kB / 0.9696 GB, free: 184.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.422, allocations: 51.41 kB / 0.9696 GB, free: 184.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/1.422, allocations: 97.61 kB / 0.9697 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.422, allocations: 25.7 kB / 0.9698 GB, free: 184.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/1.422, allocations: 84.05 kB / 0.9698 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-06/1.422, allocations: 7.906 kB / 0.9699 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.422, allocations: 4 kB / 0.9699 GB, free: 184.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/1.422, allocations: 314.9 kB / 0.9702 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/1.422, allocations: 4 kB / 0.9702 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/1.422, allocations: 17.7 kB / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/1.422, allocations: 8 kB / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.422, allocations: 0 / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.706e-05/1.422, allocations: 45.62 kB / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.422, allocations: 8.062 kB / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.422, allocations: 0 / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.422, allocations: 11.95 kB / 0.9702 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/1.422, allocations: 4 kB / 0.9703 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.422, allocations: 0.7031 kB / 0.9703 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/1.422, allocations: 0 / 0.9703 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.422, allocations: 4 kB / 0.9703 GB, free: 183.8 MB / 0.6355 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 () * 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 6.105e-05/1.422, allocations: 116.8 kB / 0.9704 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/1.422, allocations: 0 / 0.9704 GB, free: 183.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/1.422, allocations: 120.9 kB / 0.9705 GB, free: 183.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.422, allocations: 184.5 kB / 0.9707 GB, free: 183.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/1.422, allocations: 192.1 kB / 0.9708 GB, free: 183.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/1.422, allocations: 180.3 kB / 0.971 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.422, allocations: 405.2 kB / 0.9714 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.422, allocations: 109 kB / 0.9715 GB, free: 182.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/1.423, allocations: 105 kB / 0.9716 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-05/1.423, allocations: 180.2 kB / 0.9718 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/1.423, allocations: 180.3 kB / 0.972 GB, free: 181.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-05/1.423, allocations: 180.2 kB / 0.9721 GB, free: 181.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-05/1.423, allocations: 188.2 kB / 0.9723 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.393e-05/1.423, allocations: 307.7 kB / 0.9726 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/1.423, allocations: 186.1 kB / 0.9728 GB, free: 181 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/1.423, allocations: 180.2 kB / 0.9729 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.423, allocations: 109 kB / 0.973 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/1.423, allocations: 184.2 kB / 0.9732 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/1.423, allocations: 108.9 kB / 0.9733 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.768e-05/1.423, allocations: 79.28 kB / 0.9734 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.423, allocations: 0 / 0.9734 GB, free: 180.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002244/1.423, allocations: 20 kB / 0.9734 GB, free: 180.3 MB / 0.6355 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 (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.0001791/1.423, allocations: 203.2 kB / 0.9736 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.604e-05/1.424, allocations: 11.92 kB / 0.9736 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.424, allocations: 0 / 0.9736 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.424, allocations: 4 kB / 0.9736 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.424, allocations: 0.5226 MB / 0.9741 GB, free: 179.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001522/1.424, allocations: 136.9 kB / 0.9743 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/1.424, allocations: 0.6731 MB / 0.9749 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.228e-05/1.424, allocations: 15.92 kB / 0.9749 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/1.424, allocations: 11.44 kB / 0.975 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.424, allocations: 0 / 0.975 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.002923/1.427, allocations: 0.8535 MB / 0.9758 GB, free: 177.8 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)