Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.951/1.951, allocations: 288.4 MB / 303.7 MB, free: 8.824 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.001148/0.001148, allocations: 179.8 kB / 372.3 MB, free: 6.418 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.566/1.566, allocations: 205.4 MB / 0.631 GB, free: 14.47 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.00068/0.0006801, allocations: 82.88 kB / 0.7444 GB, free: 63.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 20 kB / 0.8675 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 115.3 MB / 0.9801 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00496/0.2513, allocations: 4.199 MB / 0.9842 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.2537, allocations: 2.459 MB / 0.9866 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.2537, allocations: 0 / 0.9866 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.254, allocations: 43.73 kB / 0.9867 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.2542, allocations: 87.42 kB / 0.9867 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.255, allocations: 418.2 kB / 0.9871 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2553, allocations: 259.9 kB / 0.9874 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.448e-05/0.2553, allocations: 13.56 kB / 0.9874 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2555, allocations: 107.6 kB / 0.9875 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2557, allocations: 91.66 kB / 0.9876 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.2557, allocations: 8 kB / 0.9876 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.2563, allocations: 331.2 kB / 0.9879 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.2563, allocations: 35.89 kB / 0.9879 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.2564, allocations: 101.4 kB / 0.988 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2567, allocations: 231.8 kB / 0.9883 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2567, allocations: 7.938 kB / 0.9883 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2567, allocations: 0 / 0.9883 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2568, allocations: 0 / 0.9883 GB, free: 4.859 MB / 0.7136 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.0006307/0.2574, allocations: 467.3 kB / 0.9887 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2574, allocations: 8.031 kB / 0.9887 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.2576, allocations: 28.69 kB / 0.9887 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2578, allocations: 212.1 kB / 0.989 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2578, allocations: 8.703 kB / 0.989 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.2579, allocations: 20.38 kB / 0.989 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.2582, allocations: 244.3 kB / 0.9892 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2582, allocations: 3.984 kB / 0.9892 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.2583, allocations: 11.94 kB / 0.9892 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.2583, allocations: 7.938 kB / 0.9892 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.2588, allocations: 439.2 kB / 0.9897 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2598, allocations: 0.941 MB / 0.9906 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.2601, allocations: 166.1 kB / 0.9907 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.2602, allocations: 60.88 kB / 0.9908 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.2614, allocations: 1.829 MB / 0.9926 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.2615, allocations: 38.56 kB / 0.9926 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.2615, allocations: 7.938 kB / 0.9926 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0003071/0.2618, allocations: 139.8 kB / 0.9928 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2619, allocations: 55.34 kB / 0.9928 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.262, allocations: 167.2 kB / 0.993 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.262, allocations: 33.7 kB / 0.993 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.2621, allocations: 143.8 kB / 0.9931 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.2622, allocations: 51.2 kB / 0.9932 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.2622, allocations: 11.94 kB / 0.9932 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2623, allocations: 322.8 kB / 0.9935 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.2624, allocations: 39.98 kB / 0.9935 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.2625, allocations: 137.7 kB / 0.9937 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.2628, allocations: 197.5 kB / 0.9939 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2628, allocations: 8 kB / 0.9939 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002922/0.2631, allocations: 211.8 kB / 0.9941 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2631, allocations: 8 kB / 0.9941 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2631, allocations: 480 / 0.9941 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2631, allocations: 12 kB / 0.9941 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.2633, allocations: 55.86 kB / 0.9941 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2633, allocations: 4 kB / 0.9941 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2634, allocations: 39.61 kB / 0.9942 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2635, allocations: 8 kB / 0.9942 GB, free: 14.07 MB / 0.7292 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.454e-05/0.2636, allocations: 129.8 kB / 0.9943 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.2636, allocations: 19.81 kB / 0.9943 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.2639, allocations: 155 kB / 0.9945 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.2639, allocations: 3.938 kB / 0.9945 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2639, allocations: 3.984 kB / 0.9945 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2639, allocations: 4 kB / 0.9945 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.2642, allocations: 213.5 kB / 0.9947 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2642, allocations: 0 / 0.9947 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.2643, allocations: 27.92 kB / 0.9947 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2643, allocations: 4 kB / 0.9947 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2643, allocations: 4 kB / 0.9947 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2643, allocations: 3.938 kB / 0.9947 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2643, allocations: 4 kB / 0.9947 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.2645, allocations: 219.3 kB / 0.9949 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.2646, allocations: 104.9 kB / 0.995 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.2646, allocations: 4 kB / 0.9951 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2648, allocations: 11.92 kB / 0.9951 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.2649, allocations: 19.97 kB / 0.9951 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2649, allocations: 8 kB / 0.9951 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.912e-05/0.265, allocations: 128.8 kB / 0.9952 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.265, allocations: 0 / 0.9952 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003649/0.2654, allocations: 75.92 kB / 0.9953 GB, free: 12.86 MB / 0.7292 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.0003266/0.2657, allocations: 167.2 kB / 0.9954 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.2659, allocations: 122.2 kB / 0.9956 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2659, allocations: 4 kB / 0.9956 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.266, allocations: 43.92 kB / 0.9956 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2665, allocations: 60.81 kB / 0.9957 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.2671, allocations: 415.4 kB / 0.9961 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2674, allocations: 0.7209 MB / 0.9968 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.2675, allocations: 41.81 kB / 0.9968 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.2676, allocations: 23.44 kB / 0.9968 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.2676, allocations: 0 / 0.9968 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.006116/0.2737, allocations: 3.241 MB / 1 GB, free: 8.004 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)