Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008581/0.0008582, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 172.8 kB / 16.58 MB, free: 6.852 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.361/1.361, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7442/0.7442, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003065, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 77.53 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003535/0.1343, allocations: 2.874 MB / 0.5621 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.754e-05/0.1344, allocations: 55.88 kB / 0.5622 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.1345, allocations: 3.938 kB / 0.5622 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.394e-05/0.1346, allocations: 7.938 kB / 0.5622 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.1346, allocations: 7.969 kB / 0.5622 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.1351, allocations: 139.4 kB / 0.5623 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.1352, allocations: 43.83 kB / 0.5624 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.1353, allocations: 0 / 0.5624 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.1353, allocations: 23.91 kB / 0.5624 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.1354, allocations: 8 kB / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1354, allocations: 0 / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1357, allocations: 91.72 kB / 0.5625 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.1357, allocations: 8 kB / 0.5625 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1357, allocations: 33.64 kB / 0.5625 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1359, allocations: 64.16 kB / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1359, allocations: 0 / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1359, allocations: 0 / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1359, allocations: 0 / 0.5626 GB, free: 6.047 MB / 430.1 MB 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.0003514/0.1363, allocations: 335.4 kB / 0.5629 GB, free: 5.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1363, allocations: 12.03 kB / 0.5629 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1364, allocations: 3.906 kB / 0.5629 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1365, allocations: 163.1 kB / 0.5631 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.1365, allocations: 33.64 kB / 0.5631 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1366, allocations: 7.953 kB / 0.5631 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1367, allocations: 41.67 kB / 0.5632 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1367, allocations: 0 / 0.5632 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1367, allocations: 8 kB / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.1367, allocations: 0 / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.1368, allocations: 15.92 kB / 0.5632 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1374, allocations: 0.5833 MB / 0.5638 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.06e-05/0.1374, allocations: 18.58 kB / 0.5638 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.1374, allocations: 4.859 kB / 0.5638 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.1376, allocations: 340.5 kB / 0.5641 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1377, allocations: 38.55 kB / 0.5642 GB, free: 4.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1377, allocations: 0 / 0.5642 GB, free: 4.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.1378, allocations: 37.64 kB / 0.5642 GB, free: 4.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1379, allocations: 55.53 kB / 0.5642 GB, free: 4.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.1379, allocations: 105.8 kB / 0.5643 GB, free: 3.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.138, allocations: 25.7 kB / 0.5644 GB, free: 3.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.138, allocations: 88.05 kB / 0.5644 GB, free: 3.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.138, allocations: 0 / 0.5644 GB, free: 3.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.138, allocations: 0 / 0.5644 GB, free: 3.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1381, allocations: 318.8 kB / 0.5648 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.1382, allocations: 7.984 kB / 0.5648 GB, free: 3.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.1382, allocations: 21.66 kB / 0.5648 GB, free: 3.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.1382, allocations: 11.94 kB / 0.5648 GB, free: 3.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1382, allocations: 0 / 0.5648 GB, free: 3.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.317e-05/0.1383, allocations: 45.59 kB / 0.5648 GB, free: 3.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1383, allocations: 4 kB / 0.5648 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1383, allocations: 0 / 0.5648 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.1383, allocations: 4 kB / 0.5648 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.1384, allocations: 4 kB / 0.5648 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1384, allocations: 11.94 kB / 0.5649 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.1384, allocations: 11.94 kB / 0.5649 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1384, allocations: 7.984 kB / 0.5649 GB, free: 3.34 MB / 430.1 MB 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 6.886e-05/0.1385, allocations: 109.8 kB / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1386, allocations: 4 kB / 0.565 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.1387, allocations: 113 kB / 0.5651 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/0.1387, allocations: 188.2 kB / 0.5653 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/0.1388, allocations: 184.3 kB / 0.5654 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/0.1389, allocations: 176.3 kB / 0.5656 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1391, allocations: 413.1 kB / 0.566 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.1391, allocations: 101 kB / 0.5661 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1392, allocations: 104.9 kB / 0.5662 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.176e-05/0.1392, allocations: 184.3 kB / 0.5664 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.1393, allocations: 180.2 kB / 0.5666 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.137e-05/0.1394, allocations: 180.2 kB / 0.5667 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.383e-05/0.1394, allocations: 180.3 kB / 0.5669 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1396, allocations: 311.8 kB / 0.5672 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.1397, allocations: 193.9 kB / 0.5674 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.1398, allocations: 176.3 kB / 0.5675 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1399, allocations: 109 kB / 0.5677 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.14, allocations: 180.5 kB / 0.5678 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.14, allocations: 105 kB / 0.5679 GB, free: 0 / 430.1 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.1401, allocations: 91.59 kB / 0.568 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1401, allocations: 0 / 0.568 GB, free: 15.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1404, allocations: 32 kB / 0.568 GB, free: 15.88 MB / 446.1 MB 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.0002307/0.1406, allocations: 230.5 kB / 0.5683 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.1407, allocations: 11.94 kB / 0.5683 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1407, allocations: 0 / 0.5683 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1407, allocations: 0 / 0.5683 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.1411, allocations: 0.5265 MB / 0.5688 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.1413, allocations: 191.8 kB / 0.569 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1415, allocations: 0.6809 MB / 0.5696 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.243e-05/0.1416, allocations: 9.484 kB / 0.5696 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.1416, allocations: 7.438 kB / 0.5697 GB, free: 14.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1416, allocations: 4 kB / 0.5697 GB, free: 14.15 MB / 446.1 MB Notification: Performance of Templates: time 0.003357/0.145, allocations: 1.122 MB / 0.5708 GB, free: 13.08 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)