Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 101.4 kB / 15.7 MB, free: 28 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.001308/0.001308, allocations: 196.3 kB / 16.64 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 73.8 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2829, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007227/0.2902, allocations: 3.728 MB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000216/0.2905, allocations: 159.5 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.2905, allocations: 3.938 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.2906, allocations: 3.938 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.2907, allocations: 11.98 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.2911, allocations: 71.69 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.565e-05/0.2912, allocations: 27.88 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.2912, allocations: 3.984 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.2913, allocations: 11.98 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.2914, allocations: 15.92 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2914, allocations: 4 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007461/0.2921, allocations: 187.4 kB / 0.7882 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.2922, allocations: 11.98 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.2922, allocations: 8 kB / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2924, allocations: 43.83 kB / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2924, allocations: 0 / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2924, allocations: 0 / 0.7883 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2924, allocations: 0 / 0.7883 GB, free: 8.465 MB / 0.6075 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.0004477/0.2929, allocations: 339.5 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2929, allocations: 8.031 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.2929, allocations: 0.9375 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2932, allocations: 172.3 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.2932, allocations: 34.25 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2933, allocations: 384 / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2934, allocations: 45.62 kB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2934, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2934, allocations: 0 / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2935, allocations: 4 kB / 0.7889 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.2935, allocations: 19.98 kB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.2941, allocations: 330 kB / 0.7892 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.2941, allocations: 22.52 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.2942, allocations: 4.859 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.445e-05/0.2943, allocations: 85.16 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2943, allocations: 38.56 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.2943, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001672/0.2945, allocations: 45.53 kB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.2945, allocations: 55.34 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.2946, allocations: 105.8 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2947, allocations: 25.7 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.2947, allocations: 84.05 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.2947, allocations: 12.06 kB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.2948, allocations: 17.72 kB / 0.7897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.295, allocations: 318.8 kB / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.295, allocations: 0 / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.295, allocations: 13.72 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.2951, allocations: 29.66 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2951, allocations: 4 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.268e-05/0.2951, allocations: 45.69 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2952, allocations: 8 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2952, allocations: 0 / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2952, allocations: 0 / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.2953, allocations: 11.98 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2953, allocations: 3.938 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.2953, allocations: 4 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2953, allocations: 0 / 0.7901 GB, free: 6.34 MB / 0.6075 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 0.0001163/0.2954, allocations: 117.8 kB / 0.7902 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2955, allocations: 7.906 kB / 0.7902 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.2956, allocations: 117 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001525/0.2958, allocations: 180.5 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001352/0.2959, allocations: 176.3 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/0.296, allocations: 188.3 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.2965, allocations: 409.1 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-05/0.2965, allocations: 105 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2966, allocations: 104.9 kB / 0.7914 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.246e-05/0.2967, allocations: 184.2 kB / 0.7916 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.2968, allocations: 176.3 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002748/0.2971, allocations: 188.2 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-05/0.2971, allocations: 176.3 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.2973, allocations: 311.7 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.2974, allocations: 182 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.2975, allocations: 184.3 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2977, allocations: 105 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.2978, allocations: 192.1 kB / 0.7931 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.2978, allocations: 105 kB / 0.7932 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.2979, allocations: 83.27 kB / 0.7932 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2979, allocations: 0 / 0.7932 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000327/0.2982, allocations: 15.94 kB / 0.7932 GB, free: 2.879 MB / 0.6075 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.0002639/0.2985, allocations: 206.4 kB / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.2986, allocations: 11.94 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2986, allocations: 0 / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.2986, allocations: 4 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.299, allocations: 463.1 kB / 0.7939 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.2993, allocations: 185.9 kB / 0.7941 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2997, allocations: 0.6844 MB / 0.7947 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.2998, allocations: 7.25 kB / 0.7948 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.2998, allocations: 11.44 kB / 0.7948 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2998, allocations: 4 kB / 0.7948 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.003294/0.3031, allocations: 0.5886 MB / 0.7953 GB, free: 0.6797 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)