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.001163/0.001164, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009929/0.0009929, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.739/1.739, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0007699/0.00077, allocations: 13.59 kB / 0.6735 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2588, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004941/0.2638, allocations: 3.149 MB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.264, allocations: 123.8 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.2641, allocations: 4 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.2642, allocations: 7.938 kB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.2642, allocations: 11.97 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.2645, allocations: 55.22 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.2646, allocations: 23.95 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.2647, allocations: 0 / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.2647, allocations: 7.938 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.2648, allocations: 11.98 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2648, allocations: 4 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.2652, allocations: 151.7 kB / 0.7906 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.2653, allocations: 7.984 kB / 0.7906 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2653, allocations: 25.7 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.2654, allocations: 32.2 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2654, allocations: 0 / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2654, allocations: 0 / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2654, allocations: 0 / 0.7906 GB, free: 8.367 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.0003649/0.2658, allocations: 331.3 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2658, allocations: 12.03 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.2659, allocations: 7.859 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.266, allocations: 163.1 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.2661, allocations: 29.7 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-06/0.2661, allocations: 0 / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2662, allocations: 45.67 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2663, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2663, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.2663, allocations: 4 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.2663, allocations: 27.88 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2668, allocations: 326 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.2669, allocations: 22.56 kB / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.267, allocations: 85.16 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.267, allocations: 30.56 kB / 0.7917 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.267, allocations: 4 kB / 0.7917 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.2672, allocations: 45.59 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.2673, allocations: 55.39 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.2674, allocations: 97.8 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2674, allocations: 33.7 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.2675, allocations: 84.05 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2675, allocations: 7.891 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2675, allocations: 0 / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2677, allocations: 315 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.2677, allocations: 11.94 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.2677, allocations: 13.72 kB / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.2678, allocations: 7.984 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2678, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.792e-05/0.2679, allocations: 45.64 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2679, allocations: 11.98 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2679, allocations: 4.062 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2679, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.268, allocations: 7.953 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.268, allocations: 0 / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.2681, allocations: 4 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2681, allocations: 4 kB / 0.7924 GB, free: 6.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.2683, allocations: 117.8 kB / 0.7925 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.2683, allocations: 0 / 0.7925 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.2685, allocations: 121 kB / 0.7926 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001825/0.2687, allocations: 176.3 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/0.2688, allocations: 188.2 kB / 0.7929 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001341/0.269, allocations: 180.3 kB / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.2695, allocations: 401.2 kB / 0.7935 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/0.2695, allocations: 113 kB / 0.7936 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.2696, allocations: 105 kB / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.2697, allocations: 184.2 kB / 0.7939 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.2698, allocations: 176.3 kB / 0.7941 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.114e-05/0.2699, allocations: 180.2 kB / 0.7942 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.563e-05/0.27, allocations: 180.3 kB / 0.7944 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.2702, allocations: 319.6 kB / 0.7947 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.2702, allocations: 178.1 kB / 0.7949 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2704, allocations: 188.2 kB / 0.7951 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.2706, allocations: 109 kB / 0.7952 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.2706, allocations: 184.2 kB / 0.7953 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.2707, allocations: 108.9 kB / 0.7954 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.2707, allocations: 79.28 kB / 0.7955 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2707, allocations: 0 / 0.7955 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003017/0.271, allocations: 23.89 kB / 0.7955 GB, free: 2.84 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 (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.0001939/0.2712, allocations: 194.5 kB / 0.7957 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.2713, allocations: 15.94 kB / 0.7957 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2713, allocations: 0 / 0.7957 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.2713, allocations: 0 / 0.7957 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.2717, allocations: 0.5248 MB / 0.7962 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.272, allocations: 188.3 kB / 0.7964 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2723, allocations: 0.677 MB / 0.7971 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.2723, allocations: 4 kB / 0.7971 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.2724, allocations: 7.438 kB / 0.7971 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2724, allocations: 0 / 0.7971 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.002554/0.2749, allocations: 0.5132 MB / 0.7976 GB, free: 0.6641 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: