Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009854, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4899/0.4899, allocations: 90.92 MB / 99.35 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 343.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.000977, allocations: 101.7 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.639e-05, allocations: 8 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 72.3 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.143, allocations: 340.7 MB / 0.8862 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.144, allocations: 75.83 kB / 0.8863 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02434/1.168, allocations: 13.22 MB / 0.8992 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.094e-06/1.168, allocations: 0 / 0.8992 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.832e-06/1.168, allocations: 0 / 0.8992 GB, free: 128.8 MB / 0.5886 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.0002353/1.168, allocations: 330.7 kB / 0.8995 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.168, allocations: 12.03 kB / 0.8995 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/1.168, allocations: 3.906 kB / 0.8995 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/1.168, allocations: 163.1 kB / 0.8997 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/1.168, allocations: 29.7 kB / 0.8997 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/1.168, allocations: 0 / 0.8997 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.702e-05/1.169, allocations: 15.42 kB / 0.8997 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.502e-05/1.169, allocations: 45 kB / 0.8998 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.169, allocations: 0 / 0.8998 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.169, allocations: 3.953 kB / 0.8998 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/1.169, allocations: 0 / 0.8998 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/1.169, allocations: 317.7 kB / 0.9001 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.025e-05/1.169, allocations: 14.58 kB / 0.9001 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/1.169, allocations: 4.859 kB / 0.9001 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/1.169, allocations: 85.17 kB / 0.9002 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/1.169, allocations: 30.56 kB / 0.9002 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.169, allocations: 0 / 0.9002 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001705/1.169, allocations: 41.58 kB / 0.9002 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/1.169, allocations: 59.44 kB / 0.9003 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/1.169, allocations: 100.5 kB / 0.9004 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/1.169, allocations: 25.7 kB / 0.9004 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/1.17, allocations: 91.66 kB / 0.9005 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/1.17, allocations: 3.906 kB / 0.9005 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.17, allocations: 4 kB / 0.9005 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/1.17, allocations: 310.8 kB / 0.9008 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/1.17, allocations: 3.938 kB / 0.9008 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/1.17, allocations: 21.22 kB / 0.9008 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/1.17, allocations: 11.98 kB / 0.9008 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.17, allocations: 0 / 0.9008 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.815e-05/1.17, allocations: 45.62 kB / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.17, allocations: 5.406 kB / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.17, allocations: 4 kB / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.17, allocations: 0 / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/1.17, allocations: 12.02 kB / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.17, allocations: 0 / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/1.17, allocations: 0 / 0.9009 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/1.17, allocations: 7.625 kB / 0.9009 GB, free: 126.8 MB / 0.5886 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 4.462e-05/1.17, allocations: 101 kB / 0.901 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/1.17, allocations: 4 kB / 0.901 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/1.17, allocations: 117.5 kB / 0.9011 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/1.17, allocations: 184.3 kB / 0.9013 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.833e-05/1.17, allocations: 180.2 kB / 0.9015 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/1.17, allocations: 187.9 kB / 0.9016 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/1.17, allocations: 377.8 kB / 0.902 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.17, allocations: 105 kB / 0.9021 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/1.17, allocations: 104.9 kB / 0.9022 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/1.17, allocations: 180.3 kB / 0.9024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/1.171, allocations: 184.1 kB / 0.9026 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-05/1.171, allocations: 184.2 kB / 0.9027 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.12e-05/1.171, allocations: 180.2 kB / 0.9029 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.492e-05/1.171, allocations: 315.7 kB / 0.9032 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/1.171, allocations: 189.8 kB / 0.9034 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/1.171, allocations: 176.3 kB / 0.9036 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.171, allocations: 108.9 kB / 0.9037 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/1.171, allocations: 176.3 kB / 0.9038 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.171, allocations: 108.9 kB / 0.9039 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.246e-05/1.171, allocations: 90.77 kB / 0.904 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.171, allocations: 0 / 0.904 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002446/1.171, allocations: 19.94 kB / 0.904 GB, free: 123.4 MB / 0.5886 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.0001803/1.171, allocations: 207.4 kB / 0.9042 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/1.172, allocations: 11.86 kB / 0.9042 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.172, allocations: 4 kB / 0.9042 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/1.172, allocations: 0 / 0.9042 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/1.172, allocations: 0.5264 MB / 0.9048 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/1.172, allocations: 130.6 kB / 0.9049 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/1.172, allocations: 0.6768 MB / 0.9055 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.444e-05/1.172, allocations: 7.984 kB / 0.9056 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/1.172, allocations: 7.438 kB / 0.9056 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/1.172, allocations: 0 / 0.9056 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.002593/1.175, allocations: 0.6924 MB / 0.9062 GB, free: 121.1 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)