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.744/1.744, allocations: 288.4 MB / 303.4 MB, free: 8.133 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.001072/0.001072, allocations: 168.6 kB / 372 MB, free: 10.25 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.647/1.647, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.000803/0.000803, allocations: 91.86 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000575/0.000575, allocations: 14.86 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2381, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00384/0.242, allocations: 4.192 MB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2439, allocations: 2.471 MB / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.244, allocations: 0 / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2442, allocations: 35.75 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2444, allocations: 91.47 kB / 0.9862 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.2454, allocations: 381.2 kB / 0.9866 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.2456, allocations: 259.9 kB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.2457, allocations: 9.562 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2458, allocations: 119.5 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.246, allocations: 75.73 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.246, allocations: 8 kB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.2466, allocations: 247.4 kB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.2467, allocations: 43.83 kB / 0.9873 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.2467, allocations: 53.64 kB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.2471, allocations: 215.7 kB / 0.9875 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2471, allocations: 4 kB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2471, allocations: 0 / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2471, allocations: 0 / 0.9875 GB, free: 19.45 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.0006402/0.2477, allocations: 467.1 kB / 0.988 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2478, allocations: 16.02 kB / 0.988 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2479, allocations: 19.86 kB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2481, allocations: 210.7 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.2482, allocations: 20.33 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2482, allocations: 12 kB / 0.9883 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2485, allocations: 240 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2485, allocations: 3.938 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.2486, allocations: 12 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2486, allocations: 7.984 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.249, allocations: 435.4 kB / 0.9889 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.2498, allocations: 0.9371 MB / 0.9898 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.2501, allocations: 163 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.2502, allocations: 60.88 kB / 0.9901 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008706/0.2511, allocations: 1.825 MB / 0.9918 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.2511, allocations: 42.56 kB / 0.9919 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.2511, allocations: 0 / 0.9919 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002865/0.2514, allocations: 145.3 kB / 0.992 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2514, allocations: 51.41 kB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2516, allocations: 161.9 kB / 0.9922 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2516, allocations: 29.7 kB / 0.9922 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.2517, allocations: 147.8 kB / 0.9924 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2517, allocations: 51.2 kB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.2517, allocations: 8 kB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.2518, allocations: 326.8 kB / 0.9928 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.123e-05/0.2519, allocations: 35.97 kB / 0.9928 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.252, allocations: 146.2 kB / 0.9929 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.2521, allocations: 56.69 kB / 0.993 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2521, allocations: 0 / 0.993 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002816/0.2524, allocations: 218.1 kB / 0.9932 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2524, allocations: 8 kB / 0.9932 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2524, allocations: 7.938 kB / 0.9932 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.2524, allocations: 4 kB / 0.9932 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.2526, allocations: 59.91 kB / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2526, allocations: 4 kB / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2527, allocations: 27.69 kB / 0.9933 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2528, allocations: 16 kB / 0.9933 GB, free: 12.86 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 9.608e-05/0.2529, allocations: 129.8 kB / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.2529, allocations: 15.86 kB / 0.9935 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.2532, allocations: 163.5 kB / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.2532, allocations: 0 / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2532, allocations: 4 kB / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2532, allocations: 0 / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2534, allocations: 221.4 kB / 0.9938 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2534, allocations: 0 / 0.9938 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.2535, allocations: 20 kB / 0.9938 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2535, allocations: 4 kB / 0.9938 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2536, allocations: 19.88 kB / 0.9939 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2536, allocations: 3.984 kB / 0.9939 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2536, allocations: 0 / 0.9939 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2538, allocations: 209.2 kB / 0.9941 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.2539, allocations: 112.8 kB / 0.9942 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.2539, allocations: 3.984 kB / 0.9942 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2541, allocations: 11.95 kB / 0.9942 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.2541, allocations: 11.98 kB / 0.9942 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2542, allocations: 12 kB / 0.9942 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.905e-05/0.2542, allocations: 124.9 kB / 0.9943 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2543, allocations: 4 kB / 0.9943 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003627/0.2546, allocations: 79.92 kB / 0.9944 GB, free: 11.64 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 (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.0002319/0.2549, allocations: 171 kB / 0.9946 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2551, allocations: 118 kB / 0.9947 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2551, allocations: 0 / 0.9947 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.2551, allocations: 39.92 kB / 0.9947 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.2556, allocations: 60.89 kB / 0.9948 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.2562, allocations: 419.3 kB / 0.9952 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.2564, allocations: 0.7172 MB / 0.9959 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.2566, allocations: 37.83 kB / 0.9959 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.2566, allocations: 31.42 kB / 0.996 GB, free: 10 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2566, allocations: 0 / 0.996 GB, free: 10 MB / 0.6198 GB Notification: Performance of Templates: time 0.005627/0.2622, allocations: 3.157 MB / 0.999 GB, free: 6.883 MB / 0.6198 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)