Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 196.7 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 65.41 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2322, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005706/0.2379, allocations: 4.704 MB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.2406, allocations: 2.683 MB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.2408, allocations: 0 / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.241, allocations: 47.67 kB / 0.7906 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.2413, allocations: 95.42 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2424, allocations: 485.2 kB / 0.7912 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.2426, allocations: 232 kB / 0.7914 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.2427, allocations: 13.56 kB / 0.7914 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2428, allocations: 119.5 kB / 0.7915 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.243, allocations: 87.61 kB / 0.7916 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.243, allocations: 8 kB / 0.7916 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.2436, allocations: 347.4 kB / 0.7919 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.2437, allocations: 39.83 kB / 0.792 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.2438, allocations: 79.66 kB / 0.7921 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.2443, allocations: 339.4 kB / 0.7924 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2443, allocations: 0 / 0.7924 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2443, allocations: 3.984 kB / 0.7924 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.2443, allocations: 4 kB / 0.7924 GB, free: 4.207 MB / 0.6075 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.0006766/0.245, allocations: 0.4953 MB / 0.7929 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.245, allocations: 8.031 kB / 0.7929 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2452, allocations: 24.75 kB / 0.7929 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2454, allocations: 212.1 kB / 0.7931 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2454, allocations: 12.7 kB / 0.7931 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.2455, allocations: 16.38 kB / 0.7931 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.2458, allocations: 248.1 kB / 0.7934 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2458, allocations: 0 / 0.7934 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2459, allocations: 12 kB / 0.7934 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2459, allocations: 4 kB / 0.7934 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.2464, allocations: 431.5 kB / 0.7938 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2475, allocations: 0.9449 MB / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.2478, allocations: 158.3 kB / 0.7949 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/0.2479, allocations: 64.88 kB / 0.7949 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.2493, allocations: 1.829 MB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2494, allocations: 38.56 kB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2494, allocations: 0 / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003587/0.2497, allocations: 145.4 kB / 0.7969 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.2498, allocations: 59.34 kB / 0.7969 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.25, allocations: 164.4 kB / 0.7971 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.25, allocations: 29.7 kB / 0.7971 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.2501, allocations: 143.8 kB / 0.7973 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.2501, allocations: 55.19 kB / 0.7973 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.2502, allocations: 49.7 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2504, allocations: 326.8 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.2505, allocations: 39.97 kB / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.2506, allocations: 141.7 kB / 0.7979 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2509, allocations: 208.5 kB / 0.7981 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2509, allocations: 0 / 0.7981 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003394/0.2512, allocations: 225.1 kB / 0.7983 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2513, allocations: 4 kB / 0.7983 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2513, allocations: 4 kB / 0.7983 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.2513, allocations: 8 kB / 0.7983 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2515, allocations: 56.33 kB / 0.7983 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2515, allocations: 15.92 kB / 0.7984 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2516, allocations: 31.67 kB / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2517, allocations: 12 kB / 0.7984 GB, free: 13.32 MB / 0.6231 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 0.0001126/0.2518, allocations: 125.8 kB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.2519, allocations: 15.81 kB / 0.7985 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.2522, allocations: 155 kB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.2522, allocations: 7.922 kB / 0.7987 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2522, allocations: 4 kB / 0.7987 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2522, allocations: 0 / 0.7987 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.2525, allocations: 213.5 kB / 0.7989 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2525, allocations: 4 kB / 0.7989 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.2526, allocations: 23.98 kB / 0.7989 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2526, allocations: 7.938 kB / 0.7989 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2526, allocations: 0 / 0.7989 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2526, allocations: 3.938 kB / 0.7989 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2527, allocations: 0 / 0.7989 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2529, allocations: 230.6 kB / 0.7992 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.253, allocations: 104.9 kB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.2531, allocations: 4 kB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2533, allocations: 11.92 kB / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.2533, allocations: 15.98 kB / 0.7993 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2533, allocations: 4 kB / 0.7993 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001091/0.2534, allocations: 122.1 kB / 0.7994 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2534, allocations: 0 / 0.7994 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003983/0.2538, allocations: 79.92 kB / 0.7995 GB, free: 12.12 MB / 0.6231 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.0004102/0.2543, allocations: 175.1 kB / 0.7996 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.2545, allocations: 132.6 kB / 0.7998 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.2545, allocations: 8 kB / 0.7998 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.2546, allocations: 39.98 kB / 0.7998 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.255, allocations: 47.95 kB / 0.7999 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.2557, allocations: 350.7 kB / 0.8002 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2561, allocations: 0.7128 MB / 0.8009 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.2563, allocations: 53.78 kB / 0.8009 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.2563, allocations: 23.44 kB / 0.801 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2563, allocations: 0 / 0.801 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.007147/0.2635, allocations: 3.383 MB / 0.8043 GB, free: 7.195 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)