Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.776/1.776, allocations: 287.5 MB / 302.6 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.001252/0.001252, allocations: 185.2 kB / 371.2 MB, free: 10.82 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.529/1.529, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0008234/0.0008234, allocations: 99.86 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005312, allocations: 10.19 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001448/0.2195, allocations: 1.142 MB / 0.9798 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.2223, allocations: 2.695 MB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.2224, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.2225, allocations: 11.92 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2226, allocations: 35.81 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.2231, allocations: 151.4 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.2233, allocations: 271.4 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.2234, allocations: 8 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.2235, allocations: 95.78 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2236, allocations: 143.7 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.2237, allocations: 8 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.2241, allocations: 155.8 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.2242, allocations: 91.81 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.2242, allocations: 61.58 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.2245, allocations: 183.9 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2245, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2245, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2245, allocations: 4 kB / 0.9836 GB, free: 23.14 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006926/0.2252, allocations: 0.5165 MB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2253, allocations: 16.03 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2254, allocations: 16.75 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2256, allocations: 244 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.2256, allocations: 24.36 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.2257, allocations: 16.38 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.2262, allocations: 324.9 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2263, allocations: 4 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2263, allocations: 8 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2263, allocations: 0 / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2275, allocations: 0.8038 MB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.2279, allocations: 317 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2294, allocations: 0.773 MB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.2298, allocations: 264.7 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.2302, allocations: 392.3 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2302, allocations: 38.5 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.2302, allocations: 0 / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001435/0.2316, allocations: 0.7327 MB / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2317, allocations: 59.41 kB / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.2318, allocations: 126.1 kB / 0.9881 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2318, allocations: 29.7 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.2318, allocations: 92.8 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.2319, allocations: 122.1 kB / 0.9883 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.2319, allocations: 8 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.232, allocations: 326.8 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.2324, allocations: 223.8 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.2328, allocations: 235.8 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.2337, allocations: 416.9 kB / 0.9895 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2337, allocations: 0 / 0.9895 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009405/0.2346, allocations: 0.5159 MB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2347, allocations: 6.188 kB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2347, allocations: 7.938 kB / 0.99 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2347, allocations: 0 / 0.99 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.235, allocations: 107.9 kB / 0.9901 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2351, allocations: 7.984 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2352, allocations: 71.73 kB / 0.9902 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2353, allocations: 11.98 kB / 0.9902 GB, free: 16.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 9.186e-05/0.2354, allocations: 137.8 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.2354, allocations: 19.75 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.2364, allocations: 0.5697 MB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2365, allocations: 7.984 kB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2365, allocations: 0 / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2365, allocations: 0 / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.2367, allocations: 317.3 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2367, allocations: 0 / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.2371, allocations: 115.8 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2371, allocations: 4 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.2371, allocations: 12 kB / 0.9913 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2371, allocations: 3.984 kB / 0.9913 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2371, allocations: 0 / 0.9913 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.2381, allocations: 0.5434 MB / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.2381, allocations: 104.8 kB / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.2382, allocations: 8 kB / 0.992 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2383, allocations: 43.97 kB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.2385, allocations: 115.8 kB / 0.9921 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2386, allocations: 19.92 kB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.2386, allocations: 100.4 kB / 0.9922 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2386, allocations: 0 / 0.9922 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003197/0.2389, allocations: 123.9 kB / 0.9924 GB, free: 13.74 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 (37): * Single equations (assignments): 37 * 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.0002941/0.2392, allocations: 187 kB / 0.9925 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009559/0.2402, allocations: 0.511 MB / 0.993 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2402, allocations: 0 / 0.993 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.2407, allocations: 296.6 kB / 0.9933 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.241, allocations: 71.88 kB / 0.9934 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.2416, allocations: 498.5 kB / 0.9939 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2418, allocations: 0.7331 MB / 0.9946 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003884/0.2422, allocations: 191.8 kB / 0.9948 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/0.2423, allocations: 35.36 kB / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2423, allocations: 7.938 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.007011/0.2493, allocations: 4.701 MB / 0.9994 GB, free: 6.547 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)