Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 179.5 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.6306 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 97.2 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 10.62 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004325/0.2953, allocations: 3.687 MB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2972, allocations: 2.152 MB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.2972, allocations: 4 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.2975, allocations: 31.81 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.2977, allocations: 91.67 kB / 0.9852 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.2986, allocations: 393.5 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2987, allocations: 144.7 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.92e-05/0.2988, allocations: 13.55 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00078/0.2996, allocations: 399.2 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.2997, allocations: 71.62 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2997, allocations: 8 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.3004, allocations: 419.4 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.3004, allocations: 31.89 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.3005, allocations: 53.64 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.3008, allocations: 203.8 kB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3008, allocations: 4 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3008, allocations: 0 / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3008, allocations: 0 / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006136/0.3014, allocations: 471.2 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3015, allocations: 8.031 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.3016, allocations: 27.75 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3018, allocations: 210.7 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3018, allocations: 16.27 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3019, allocations: 16 kB / 0.9876 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3022, allocations: 237 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3022, allocations: 4 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3022, allocations: 4 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.3023, allocations: 15.92 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.3027, allocations: 431.5 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009625/0.3037, allocations: 1.027 MB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.304, allocations: 160.5 kB / 0.9894 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.305, allocations: 1.841 MB / 0.9912 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3051, allocations: 34.56 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3051, allocations: 0 / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003041/0.3054, allocations: 139.2 kB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3054, allocations: 55.41 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3056, allocations: 173.2 kB / 0.9916 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3056, allocations: 29.7 kB / 0.9916 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.3057, allocations: 139.8 kB / 0.9918 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3057, allocations: 55.2 kB / 0.9918 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.3057, allocations: 4 kB / 0.9918 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.3058, allocations: 322.8 kB / 0.9921 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.3059, allocations: 35.97 kB / 0.9922 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.71e-05/0.306, allocations: 146.2 kB / 0.9923 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.3061, allocations: 51.92 kB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3061, allocations: 0 / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002634/0.3064, allocations: 221.6 kB / 0.9926 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3064, allocations: 7.953 kB / 0.9926 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3064, allocations: 4 kB / 0.9926 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.3064, allocations: 8 kB / 0.9926 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3067, allocations: 60.31 kB / 0.9926 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3067, allocations: 11.94 kB / 0.9926 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3068, allocations: 27.69 kB / 0.9927 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3068, allocations: 12 kB / 0.9927 GB, free: 13.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.483e-05/0.3069, allocations: 133.8 kB / 0.9928 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.307, allocations: 11.91 kB / 0.9928 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.3072, allocations: 163.5 kB / 0.993 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3073, allocations: 3.938 kB / 0.993 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3073, allocations: 8 kB / 0.993 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3073, allocations: 0 / 0.993 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3075, allocations: 221.4 kB / 0.9932 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3075, allocations: 0 / 0.9932 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3076, allocations: 27.98 kB / 0.9932 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3076, allocations: 0 / 0.9932 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3076, allocations: 0 / 0.9932 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3077, allocations: 3.953 kB / 0.9932 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3077, allocations: 4 kB / 0.9932 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3079, allocations: 218.1 kB / 0.9934 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.308, allocations: 116.8 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.308, allocations: 11.98 kB / 0.9936 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3082, allocations: 8 kB / 0.9936 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3082, allocations: 23.86 kB / 0.9936 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3082, allocations: 7.984 kB / 0.9936 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.3083, allocations: 121.6 kB / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3083, allocations: 4 kB / 0.9937 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003516/0.3087, allocations: 75.94 kB / 0.9938 GB, free: 12.15 MB / 0.6198 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002449/0.3089, allocations: 173.3 kB / 0.994 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3091, allocations: 108.6 kB / 0.9941 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3091, allocations: 4 kB / 0.9941 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.3092, allocations: 51.92 kB / 0.9941 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3096, allocations: 40.64 kB / 0.9942 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.3102, allocations: 425.7 kB / 0.9946 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3104, allocations: 0.7172 MB / 0.9953 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.3106, allocations: 45.75 kB / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.3107, allocations: 23.42 kB / 0.9953 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3107, allocations: 0 / 0.9953 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.005726/0.3164, allocations: 3.058 MB / 0.9983 GB, free: 7.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)