Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.571/1.571, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 165.9 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.4 MB / 0.5786 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.000855, allocations: 90.38 kB / 0.6832 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.000374, allocations: 12.31 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 106.3 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004613/0.2232, allocations: 4.108 MB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.2257, allocations: 2.656 MB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.2258, allocations: 0 / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.2262, allocations: 39.8 kB / 0.9081 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.2265, allocations: 83.48 kB / 0.9082 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.2277, allocations: 426.3 kB / 0.9086 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.228, allocations: 307.8 kB / 0.9089 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.01e-05/0.228, allocations: 9.547 kB / 0.9089 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.229, allocations: 400.7 kB / 0.9092 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2291, allocations: 95.59 kB / 0.9093 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2291, allocations: 8 kB / 0.9093 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.23, allocations: 482.9 kB / 0.9098 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.2301, allocations: 35.83 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.2301, allocations: 101.4 kB / 0.9099 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.2305, allocations: 239.7 kB / 0.9102 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2305, allocations: 0 / 0.9102 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2305, allocations: 0 / 0.9102 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2305, allocations: 0 / 0.9102 GB, free: 54.36 MB / 0.6042 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.0005753/0.2311, allocations: 459.4 kB / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2311, allocations: 8.031 kB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.2313, allocations: 28.75 kB / 0.9106 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.2314, allocations: 220 kB / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2315, allocations: 8.703 kB / 0.9109 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.2315, allocations: 24.31 kB / 0.9109 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.2318, allocations: 245.7 kB / 0.9111 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2318, allocations: 0 / 0.9111 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2318, allocations: 8 kB / 0.9111 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.2319, allocations: 8 kB / 0.9111 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2323, allocations: 431.4 kB / 0.9115 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.2331, allocations: 1.004 MB / 0.9125 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.2333, allocations: 154.1 kB / 0.9127 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.2334, allocations: 64.88 kB / 0.9127 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008864/0.2343, allocations: 1.829 MB / 0.9145 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2344, allocations: 34.56 kB / 0.9145 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.2344, allocations: 0 / 0.9145 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002866/0.2347, allocations: 147.1 kB / 0.9147 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.2347, allocations: 59.34 kB / 0.9147 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2348, allocations: 162.1 kB / 0.9149 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2348, allocations: 33.7 kB / 0.9149 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.2349, allocations: 139.8 kB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2349, allocations: 55.3 kB / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.2349, allocations: 4 kB / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.235, allocations: 326.8 kB / 0.9154 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.2351, allocations: 35.97 kB / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.2352, allocations: 141.7 kB / 0.9156 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2353, allocations: 191.2 kB / 0.9158 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2353, allocations: 0 / 0.9158 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002503/0.2356, allocations: 225.4 kB / 0.916 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2356, allocations: 10.97 kB / 0.916 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2356, allocations: 4 kB / 0.916 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2356, allocations: 7.938 kB / 0.916 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2358, allocations: 55.86 kB / 0.9161 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2358, allocations: 7.984 kB / 0.9161 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2359, allocations: 31.69 kB / 0.9161 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.236, allocations: 8 kB / 0.9161 GB, free: 47.52 MB / 0.6042 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 8.748e-05/0.2361, allocations: 146.4 kB / 0.9163 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.2361, allocations: 15.81 kB / 0.9163 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.2364, allocations: 152.4 kB / 0.9164 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2364, allocations: 11.92 kB / 0.9164 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2364, allocations: 0 / 0.9164 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2364, allocations: 0 / 0.9164 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2366, allocations: 217.5 kB / 0.9166 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2366, allocations: 0 / 0.9166 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.2367, allocations: 27.92 kB / 0.9167 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2367, allocations: 0 / 0.9167 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2367, allocations: 11.94 kB / 0.9167 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2367, allocations: 7.938 kB / 0.9167 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2367, allocations: 0 / 0.9167 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2369, allocations: 213.6 kB / 0.9169 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.237, allocations: 104.9 kB / 0.917 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.237, allocations: 8 kB / 0.917 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2372, allocations: 23.86 kB / 0.917 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.2373, allocations: 8 kB / 0.917 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2373, allocations: 11.98 kB / 0.917 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.2374, allocations: 116.9 kB / 0.9172 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2374, allocations: 0 / 0.9172 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003399/0.2377, allocations: 79.91 kB / 0.9172 GB, free: 46.3 MB / 0.6042 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.0002793/0.238, allocations: 171.1 kB / 0.9174 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.2382, allocations: 123.7 kB / 0.9175 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2382, allocations: 0 / 0.9175 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.2383, allocations: 43.98 kB / 0.9175 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2387, allocations: 50.8 kB / 0.9176 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.2393, allocations: 463 kB / 0.918 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2395, allocations: 0.717 MB / 0.9187 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.2395, allocations: 31.42 kB / 0.9188 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2395, allocations: 0 / 0.9188 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of Templates: time 0.004154/0.2437, allocations: 3.076 MB / 0.9218 GB, free: 41.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)