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.001376/0.001376, allocations: 118.2 kB / 17.09 MB, free: 5.969 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.00146/0.00146, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7207/0.7207, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 73.61 kB / 0.5584 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 76.18 MB / 0.6327 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005596/0.1512, allocations: 3.275 MB / 0.6359 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.1514, allocations: 47.86 kB / 0.636 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.1514, allocations: 4 kB / 0.636 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1516, allocations: 11.92 kB / 0.636 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.1517, allocations: 3.938 kB / 0.636 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.1524, allocations: 191.2 kB / 0.6362 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1525, allocations: 35.8 kB / 0.6362 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.1525, allocations: 7.984 kB / 0.6362 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.1526, allocations: 11.98 kB / 0.6362 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.1527, allocations: 8 kB / 0.6363 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1527, allocations: 3.984 kB / 0.6363 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.1531, allocations: 167.6 kB / 0.6364 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.1532, allocations: 15.92 kB / 0.6364 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1532, allocations: 4 kB / 0.6364 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.1536, allocations: 139.6 kB / 0.6366 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1536, allocations: 8 kB / 0.6366 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1536, allocations: 0 / 0.6366 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1537, allocations: 0 / 0.6366 GB, free: 0.5547 MB / 478.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.0004901/0.1542, allocations: 347.5 kB / 0.6369 GB, free: 172 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1542, allocations: 12.03 kB / 0.6369 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1543, allocations: 4.844 kB / 0.6369 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1544, allocations: 160.4 kB / 0.6371 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.1545, allocations: 30.27 kB / 0.6371 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1545, allocations: 4.375 kB / 0.6371 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1546, allocations: 45.56 kB / 0.6372 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1547, allocations: 0 / 0.6372 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.1547, allocations: 8 kB / 0.6372 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1547, allocations: 0 / 0.6372 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.1548, allocations: 11.98 kB / 0.6372 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.1556, allocations: 0.5833 MB / 0.6377 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.1557, allocations: 26.45 kB / 0.6378 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.1557, allocations: 4.859 kB / 0.6378 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.156, allocations: 344.5 kB / 0.6381 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.156, allocations: 34.56 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.156, allocations: 0 / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.1562, allocations: 33.7 kB / 0.6382 GB, free: 14.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1563, allocations: 51.41 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1564, allocations: 110 kB / 0.6383 GB, free: 14.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1564, allocations: 25.7 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1565, allocations: 92.03 kB / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.1565, allocations: 3.906 kB / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.1566, allocations: 25.64 kB / 0.6385 GB, free: 14.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1567, allocations: 314.8 kB / 0.6388 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.1567, allocations: 4 kB / 0.6388 GB, free: 13.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.1568, allocations: 29.7 kB / 0.6388 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.1568, allocations: 13.72 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1568, allocations: 3.938 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.929e-05/0.1569, allocations: 53.62 kB / 0.6389 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.157, allocations: 5.719 kB / 0.6389 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.157, allocations: 0 / 0.6389 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.157, allocations: 0 / 0.6389 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.1571, allocations: 12.06 kB / 0.6389 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1571, allocations: 0 / 0.6389 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.1571, allocations: 3.938 kB / 0.6389 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1571, allocations: 4 kB / 0.6389 GB, free: 13.8 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.1572, allocations: 113.8 kB / 0.639 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.1573, allocations: 3.984 kB / 0.639 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1574, allocations: 116.9 kB / 0.6391 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.123e-05/0.1575, allocations: 180.3 kB / 0.6393 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.716e-05/0.1576, allocations: 188.2 kB / 0.6395 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/0.1577, allocations: 184.2 kB / 0.6396 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.158, allocations: 409.2 kB / 0.64 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.395e-05/0.1581, allocations: 109 kB / 0.6401 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.1581, allocations: 104.9 kB / 0.6402 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.872e-05/0.1582, allocations: 184.2 kB / 0.6404 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.1583, allocations: 180.3 kB / 0.6406 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.137e-05/0.1584, allocations: 184.2 kB / 0.6408 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.648e-05/0.1584, allocations: 176.3 kB / 0.6409 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1586, allocations: 315.6 kB / 0.6412 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.1587, allocations: 182.1 kB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/0.1588, allocations: 184.2 kB / 0.6416 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.1591, allocations: 113 kB / 0.6417 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.1592, allocations: 176.3 kB / 0.6418 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.1592, allocations: 112.9 kB / 0.642 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.1593, allocations: 79.28 kB / 0.642 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1593, allocations: 0 / 0.642 GB, free: 10.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1596, allocations: 36 kB / 0.6421 GB, free: 10.32 MB / 494.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 (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.000325/0.16, allocations: 240.2 kB / 0.6423 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.063e-05/0.1601, allocations: 8 kB / 0.6423 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.1601, allocations: 4 kB / 0.6423 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.1601, allocations: 3.938 kB / 0.6423 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.1606, allocations: 459.8 kB / 0.6427 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.161, allocations: 201.7 kB / 0.6429 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1613, allocations: 0.6768 MB / 0.6436 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.1613, allocations: 7.438 kB / 0.6436 GB, free: 8.668 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1613, allocations: 4 kB / 0.6436 GB, free: 8.664 MB / 494.1 MB Notification: Performance of Templates: time 0.003163/0.1645, allocations: 1.195 MB / 0.6448 GB, free: 7.484 MB / 494.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)