Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.838/2.838, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001265/0.001264, allocations: 182.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009159/0.0009158, allocations: 85.17 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006791/0.0006794, allocations: 10.09 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2794, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02014/0.2996, allocations: 11.99 MB / 0.9901 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.3028, allocations: 2.443 MB / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3029, allocations: 0 / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.3032, allocations: 31.81 kB / 0.9925 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.3035, allocations: 95.41 kB / 0.9926 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.305, allocations: 389.8 kB / 0.9929 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.3053, allocations: 259.9 kB / 0.9932 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.3054, allocations: 13.5 kB / 0.9932 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.3176, allocations: 4.366 MB / 0.9975 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.3179, allocations: 91.64 kB / 0.9975 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.318, allocations: 4 kB / 0.9976 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.3211, allocations: 0.9314 MB / 0.9985 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.3212, allocations: 39.88 kB / 0.9985 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.3213, allocations: 53.64 kB / 0.9986 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.3219, allocations: 215.4 kB / 0.9988 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3219, allocations: 4 kB / 0.9988 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3219, allocations: 4 kB / 0.9988 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3219, allocations: 0 / 0.9988 GB, free: 7.426 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.0007313/0.3226, allocations: 459.2 kB / 0.9992 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3227, allocations: 12.03 kB / 0.9992 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.3229, allocations: 31.73 kB / 0.9992 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3231, allocations: 210.8 kB / 0.9994 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3231, allocations: 12.33 kB / 0.9995 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3232, allocations: 12 kB / 0.9995 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.3236, allocations: 251.9 kB / 0.9997 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3237, allocations: 0 / 0.9997 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.3237, allocations: 11.95 kB / 0.9997 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.3237, allocations: 7.984 kB / 0.9997 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.3243, allocations: 423.5 kB / 1 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.3256, allocations: 0.9605 MB / 1.001 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.326, allocations: 160.3 kB / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3262, allocations: 60.88 kB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.3276, allocations: 1.833 MB / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3276, allocations: 38.56 kB / 1.003 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.3276, allocations: 0 / 1.003 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004216/0.3281, allocations: 149.3 kB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.3281, allocations: 51.41 kB / 1.003 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3283, allocations: 168.2 kB / 1.003 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3283, allocations: 29.7 kB / 1.003 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.3284, allocations: 139.8 kB / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3284, allocations: 47.3 kB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.3284, allocations: 4 kB / 1.004 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.3285, allocations: 326.8 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/0.3286, allocations: 43.97 kB / 1.004 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3288, allocations: 138.2 kB / 1.004 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3289, allocations: 61.81 kB / 1.004 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.329, allocations: 3.938 kB / 1.004 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004224/0.3294, allocations: 217 kB / 1.004 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3294, allocations: 10.5 kB / 1.004 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3294, allocations: 8 kB / 1.004 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3295, allocations: 4 kB / 1.004 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.3298, allocations: 59.91 kB / 1.005 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3298, allocations: 4 kB / 1.005 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.33, allocations: 27.69 kB / 1.005 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.33, allocations: 12 kB / 1.005 GB, free: 0.832 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 0.000114/0.3302, allocations: 137.7 kB / 1.005 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.3302, allocations: 19.8 kB / 1.005 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.3306, allocations: 152.4 kB / 1.005 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.3307, allocations: 4 kB / 1.005 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3307, allocations: 0 / 1.005 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3307, allocations: 0 / 1.005 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.331, allocations: 225.4 kB / 1.005 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.331, allocations: 3.938 kB / 1.005 GB, free: 244 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3312, allocations: 23.94 kB / 1.005 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3312, allocations: 3.984 kB / 1.005 GB, free: 216 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3312, allocations: 8 kB / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3312, allocations: 4 kB / 1.005 GB, free: 204 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3312, allocations: 4 kB / 1.005 GB, free: 200 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3315, allocations: 212.4 kB / 1.005 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3317, allocations: 112.9 kB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.3317, allocations: 4 kB / 1.005 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.332, allocations: 8 kB / 1.005 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3321, allocations: 7.984 kB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.3321, allocations: 15.98 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001221/0.3323, allocations: 124.9 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3323, allocations: 0 / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005305/0.3328, allocations: 83.92 kB / 1.006 GB, free: 15.6 MB / 0.6355 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.0003613/0.3332, allocations: 173 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.3335, allocations: 116.5 kB / 1.006 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3336, allocations: 0 / 1.006 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3337, allocations: 47.86 kB / 1.006 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.3344, allocations: 60.81 kB / 1.006 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.3354, allocations: 421.6 kB / 1.006 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3357, allocations: 0.7172 MB / 1.007 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.336, allocations: 53.67 kB / 1.007 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.3361, allocations: 23.44 kB / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.3361, allocations: 0 / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.0107/0.3468, allocations: 3.349 MB / 1.01 GB, free: 10.62 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)