Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001377/0.001377, allocations: 188.5 kB / 376.9 MB, free: 1.824 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.609/1.609, allocations: 205.1 MB / 0.6354 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009019/0.0009021, allocations: 104.8 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 51.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2545, allocations: 114.5 MB / 0.9822 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01803/0.2726, allocations: 13.87 MB / 0.9958 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.2755, allocations: 2.675 MB / 0.9984 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.2757, allocations: 0 / 0.9984 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.2761, allocations: 35.81 kB / 0.9984 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.2765, allocations: 91.47 kB / 0.9985 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.2778, allocations: 434.3 kB / 0.9989 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.2782, allocations: 307.8 kB / 0.9992 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.2783, allocations: 9.562 kB / 0.9992 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008524/0.2868, allocations: 3.155 MB / 1.002 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.287, allocations: 91.59 kB / 1.002 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.2871, allocations: 8 kB / 1.002 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.2896, allocations: 0.9373 MB / 1.003 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.2897, allocations: 39.88 kB / 1.003 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2898, allocations: 83.59 kB / 1.003 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009562/0.2908, allocations: 351.1 kB / 1.004 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2908, allocations: 3.938 kB / 1.004 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2908, allocations: 0 / 1.004 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.2908, allocations: 4 kB / 1.004 GB, free: 4.266 MB / 0.7292 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.0008872/0.2917, allocations: 0.5031 MB / 1.004 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.2918, allocations: 8.031 kB / 1.004 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.292, allocations: 20.75 kB / 1.004 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2922, allocations: 216.1 kB / 1.004 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2922, allocations: 16.69 kB / 1.004 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2923, allocations: 12.38 kB / 1.005 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.2927, allocations: 252.9 kB / 1.005 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2927, allocations: 0 / 1.005 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.2927, allocations: 8 kB / 1.005 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.2928, allocations: 4 kB / 1.005 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.2932, allocations: 435.3 kB / 1.005 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2944, allocations: 0.9527 MB / 1.006 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2947, allocations: 162.8 kB / 1.006 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2948, allocations: 64.88 kB / 1.006 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.2962, allocations: 1.829 MB / 1.008 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2962, allocations: 34.56 kB / 1.008 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.2962, allocations: 0 / 1.008 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003686/0.2966, allocations: 149.4 kB / 1.008 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2966, allocations: 59.33 kB / 1.008 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2968, allocations: 171.3 kB / 1.009 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2968, allocations: 29.7 kB / 1.009 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.2969, allocations: 143.8 kB / 1.009 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.2969, allocations: 51.27 kB / 1.009 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.297, allocations: 49.61 kB / 1.009 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.2971, allocations: 326.8 kB / 1.009 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.2972, allocations: 35.98 kB / 1.009 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2973, allocations: 147.8 kB / 1.009 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.2976, allocations: 193.5 kB / 1.009 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2976, allocations: 0 / 1.009 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003171/0.2979, allocations: 215.8 kB / 1.01 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2979, allocations: 11.98 kB / 1.01 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2979, allocations: 4 kB / 1.01 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.298, allocations: 4.469 kB / 1.01 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2982, allocations: 63.8 kB / 1.01 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2982, allocations: 4 kB / 1.01 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2983, allocations: 27.75 kB / 1.01 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.2983, allocations: 11.98 kB / 1.01 GB, free: 13.38 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.2984, allocations: 141.7 kB / 1.01 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.2985, allocations: 19.75 kB / 1.01 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.2988, allocations: 150.9 kB / 1.01 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.2988, allocations: 11.94 kB / 1.01 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2988, allocations: 4 kB / 1.01 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2988, allocations: 3.984 kB / 1.01 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2991, allocations: 217.5 kB / 1.01 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2991, allocations: 0 / 1.01 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.2992, allocations: 23.98 kB / 1.01 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2992, allocations: 0 / 1.01 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2992, allocations: 4 kB / 1.01 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2992, allocations: 7.938 kB / 1.01 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2992, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.2997, allocations: 0.8135 MB / 1.011 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.2999, allocations: 112.9 kB / 1.011 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2999, allocations: 0 / 1.011 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3001, allocations: 11.98 kB / 1.011 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.3001, allocations: 7.938 kB / 1.011 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3001, allocations: 15.98 kB / 1.011 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.621e-05/0.3002, allocations: 124 kB / 1.011 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3002, allocations: 0 / 1.011 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004925/0.3007, allocations: 71.98 kB / 1.011 GB, free: 11.52 MB / 0.7448 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 (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.000375/0.3011, allocations: 183 kB / 1.012 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3013, allocations: 114.2 kB / 1.012 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3013, allocations: 4 kB / 1.012 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.3014, allocations: 47.91 kB / 1.012 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3019, allocations: 60.73 kB / 1.012 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.3027, allocations: 0.511 MB / 1.012 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.303, allocations: 0.717 MB / 1.013 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.3032, allocations: 61.66 kB / 1.013 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.3032, allocations: 23.44 kB / 1.013 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.3032, allocations: 0 / 1.013 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.006776/0.31, allocations: 3.564 MB / 1.017 GB, free: 6.195 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)