Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001332/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001352/0.001352, allocations: 197.1 kB / 16.14 MB, free: 6.723 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002648/0.002648, allocations: 275 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00384/0.00384, allocations: 95.11 kB / 0.6057 GB, free: 25.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2266, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006119/0.2327, allocations: 3.339 MB / 0.696 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.2329, allocations: 59.8 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.2329, allocations: 0 / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.764e-05/0.233, allocations: 0 / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.2331, allocations: 15.91 kB / 0.6961 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.2336, allocations: 171.4 kB / 0.6963 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.994e-05/0.2337, allocations: 55.86 kB / 0.6963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.728e-05/0.2337, allocations: 0 / 0.6963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.2338, allocations: 19.94 kB / 0.6964 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.2338, allocations: 15.91 kB / 0.6964 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2338, allocations: 4 kB / 0.6964 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.2342, allocations: 163.6 kB / 0.6965 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.2342, allocations: 7.969 kB / 0.6965 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.2343, allocations: 15.94 kB / 0.6966 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.2346, allocations: 136 kB / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2346, allocations: 0 / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2346, allocations: 0 / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2346, allocations: 3.938 kB / 0.6967 GB, free: 0.8047 MB / 494.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.0004347/0.235, allocations: 347.5 kB / 0.697 GB, free: 428 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2351, allocations: 16.02 kB / 0.697 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.2351, allocations: 4.844 kB / 0.697 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2353, allocations: 164.3 kB / 0.6972 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.2353, allocations: 34.27 kB / 0.6972 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2353, allocations: 384 / 0.6972 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2355, allocations: 49.61 kB / 0.6973 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2355, allocations: 0 / 0.6973 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2355, allocations: 4 kB / 0.6973 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2356, allocations: 0 / 0.6973 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.2356, allocations: 15.98 kB / 0.6973 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.2363, allocations: 0.5794 MB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.2364, allocations: 22.52 kB / 0.6979 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.2364, allocations: 4.859 kB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.2367, allocations: 352.4 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2367, allocations: 34.56 kB / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2367, allocations: 0 / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.2369, allocations: 33.7 kB / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.2369, allocations: 63.47 kB / 0.6983 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.237, allocations: 97.84 kB / 0.6984 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2371, allocations: 25.7 kB / 0.6985 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.2371, allocations: 96.05 kB / 0.6986 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.752e-06/0.2371, allocations: 3.906 kB / 0.6986 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.2372, allocations: 17.7 kB / 0.6986 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2373, allocations: 318.8 kB / 0.6989 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.2373, allocations: 4 kB / 0.6989 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.2374, allocations: 17.72 kB / 0.6989 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.2374, allocations: 21.7 kB / 0.6989 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2374, allocations: 0 / 0.6989 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.068e-05/0.2375, allocations: 57.56 kB / 0.699 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2375, allocations: 4 kB / 0.699 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2375, allocations: 0 / 0.699 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2376, allocations: 4.062 kB / 0.699 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.2376, allocations: 8 kB / 0.699 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2376, allocations: 0 / 0.699 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.2376, allocations: 3.938 kB / 0.699 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2377, allocations: 0 / 0.699 GB, free: 14.05 MB / 0.4981 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 () * 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 8.2e-05/0.2377, allocations: 117.7 kB / 0.6991 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.2378, allocations: 0 / 0.6991 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.2379, allocations: 124.9 kB / 0.6992 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-05/0.238, allocations: 184.2 kB / 0.6994 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.619e-05/0.2381, allocations: 184.2 kB / 0.6996 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.492e-05/0.2382, allocations: 180.2 kB / 0.6997 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.2385, allocations: 413.1 kB / 0.7001 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-05/0.2385, allocations: 101 kB / 0.7002 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.2386, allocations: 108.9 kB / 0.7003 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.109e-05/0.2387, allocations: 176.3 kB / 0.7005 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.2388, allocations: 180.3 kB / 0.7007 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.993e-05/0.2389, allocations: 184.4 kB / 0.7009 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.041e-05/0.239, allocations: 184.3 kB / 0.701 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.2391, allocations: 307.7 kB / 0.7013 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.2392, allocations: 182.1 kB / 0.7015 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.2393, allocations: 192.2 kB / 0.7017 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2395, allocations: 105 kB / 0.7018 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/0.2396, allocations: 180.2 kB / 0.702 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.2397, allocations: 105 kB / 0.7021 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.2397, allocations: 91.27 kB / 0.7021 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2398, allocations: 0 / 0.7021 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002797/0.24, allocations: 28 kB / 0.7022 GB, free: 10.58 MB / 0.4981 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 () * 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.0003139/0.2404, allocations: 257.5 kB / 0.7024 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.2404, allocations: 11.94 kB / 0.7024 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2404, allocations: 0 / 0.7024 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.2405, allocations: 0 / 0.7024 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.241, allocations: 0.5309 MB / 0.7029 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.2413, allocations: 179.7 kB / 0.7031 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.2417, allocations: 0.677 MB / 0.7038 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.707e-05/0.2417, allocations: 10.19 kB / 0.7038 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.2417, allocations: 11.44 kB / 0.7038 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2417, allocations: 3.938 kB / 0.7038 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.004044/0.2458, allocations: 1.197 MB / 0.705 GB, free: 7.695 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)