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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006936/0.0006936, 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.0007032/0.0007032, allocations: 175.5 kB / 16.58 MB, free: 6.789 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.185/1.185, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5958/0.5958, allocations: 113.7 MB / 405.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002665, allocations: 13.38 kB / 493.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1178, allocations: 77.12 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003734/0.1216, allocations: 2.869 MB / 0.5597 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 8.658e-05/0.1217, allocations: 51.88 kB / 0.5597 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.1217, allocations: 0 / 0.5597 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.796e-05/0.1218, allocations: 8 kB / 0.5598 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.1219, allocations: 7.922 kB / 0.5598 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1223, allocations: 139.4 kB / 0.5599 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.1224, allocations: 43.81 kB / 0.5599 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.83e-05/0.1225, allocations: 4 kB / 0.5599 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.1225, allocations: 19.98 kB / 0.56 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.1226, allocations: 19.91 kB / 0.56 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1226, allocations: 0 / 0.56 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.1228, allocations: 83.75 kB / 0.5601 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.1229, allocations: 11.98 kB / 0.5601 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1229, allocations: 29.7 kB / 0.5601 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.123, allocations: 60.16 kB / 0.5602 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1231, allocations: 0 / 0.5602 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1231, allocations: 0 / 0.5602 GB, free: 8.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1231, allocations: 0 / 0.5602 GB, free: 8.336 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.000309/0.1234, allocations: 339.3 kB / 0.5605 GB, free: 7.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1234, allocations: 15.97 kB / 0.5605 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.1235, allocations: 38.5 kB / 0.5605 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.1235, allocations: 3.906 kB / 0.5605 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.1236, allocations: 163.1 kB / 0.5607 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.1237, allocations: 29.66 kB / 0.5607 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.1237, allocations: 0 / 0.5607 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1238, allocations: 53.62 kB / 0.5608 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1238, allocations: 0 / 0.5608 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1238, allocations: 0 / 0.5608 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1238, allocations: 3.984 kB / 0.5608 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.1239, allocations: 8 kB / 0.5608 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.1244, allocations: 0.5872 MB / 0.5614 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.899e-05/0.1244, allocations: 14.58 kB / 0.5614 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.1245, allocations: 16.91 kB / 0.5614 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.1247, allocations: 348.4 kB / 0.5617 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1247, allocations: 30.56 kB / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1247, allocations: 0 / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.1248, allocations: 37.64 kB / 0.5618 GB, free: 6.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1249, allocations: 51.41 kB / 0.5618 GB, free: 6.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.1249, allocations: 101.8 kB / 0.5619 GB, free: 6.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.125, allocations: 33.83 kB / 0.562 GB, free: 6.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.125, allocations: 84.05 kB / 0.562 GB, free: 6.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.125, allocations: 0 / 0.562 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.125, allocations: 4 kB / 0.562 GB, free: 6.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.1251, allocations: 318.8 kB / 0.5623 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1252, allocations: 4 kB / 0.5624 GB, free: 5.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.1252, allocations: 13.72 kB / 0.5624 GB, free: 5.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.1252, allocations: 15.98 kB / 0.5624 GB, free: 5.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1252, allocations: 0 / 0.5624 GB, free: 5.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.424e-05/0.1253, allocations: 49.55 kB / 0.5624 GB, free: 5.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1253, allocations: 11.94 kB / 0.5624 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1253, allocations: 0 / 0.5624 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.1253, allocations: 0 / 0.5624 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.1254, allocations: 7.984 kB / 0.5624 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1254, allocations: 3.984 kB / 0.5625 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.1254, allocations: 11.94 kB / 0.5625 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1254, allocations: 0 / 0.5625 GB, free: 5.586 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.43e-05/0.1255, allocations: 121.8 kB / 0.5626 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1255, allocations: 0 / 0.5626 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.1256, allocations: 121 kB / 0.5627 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/0.1257, allocations: 176.3 kB / 0.5629 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-05/0.1257, allocations: 184.2 kB / 0.563 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/0.1258, allocations: 180.5 kB / 0.5632 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.126, allocations: 413.1 kB / 0.5636 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/0.126, allocations: 101 kB / 0.5637 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.1261, allocations: 109 kB / 0.5638 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-05/0.1261, allocations: 184.2 kB / 0.564 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.1262, allocations: 180.3 kB / 0.5642 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.822e-05/0.1262, allocations: 188.1 kB / 0.5643 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.818e-05/0.1263, allocations: 180.3 kB / 0.5645 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1264, allocations: 303.8 kB / 0.5648 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.1265, allocations: 190 kB / 0.565 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.1265, allocations: 192.2 kB / 0.5652 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1267, allocations: 101 kB / 0.5653 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.1267, allocations: 184.5 kB / 0.5654 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.1268, allocations: 101 kB / 0.5655 GB, free: 2.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.97e-05/0.1268, allocations: 87.27 kB / 0.5656 GB, free: 2.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 0.5656 GB, free: 2.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1271, allocations: 36 kB / 0.5656 GB, free: 2.102 MB / 430.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.0004296/0.1275, allocations: 0.8692 MB / 0.5665 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.427e-05/0.1276, allocations: 11.94 kB / 0.5665 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1276, allocations: 0 / 0.5665 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1276, allocations: 0 / 0.5665 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1279, allocations: 0.5265 MB / 0.567 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.1283, allocations: 237.4 kB / 0.5672 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1285, allocations: 0.6731 MB / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.116e-05/0.1286, allocations: 13.53 kB / 0.5679 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.1286, allocations: 11.44 kB / 0.5679 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1286, allocations: 0 / 0.5679 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.1394, allocations: 1.89 MB / 0.5698 GB, free: 14.01 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.1396, allocations: 234.3 kB / 0.57 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/1.579, allocations: 4 kB / 0.57 GB, free: 13.77 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: