Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5741/0.5741, allocations: 94.73 MB / 102 MB, free: 10.39 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001468/0.001468, allocations: 171.8 kB / 125.3 MB, free: 12.03 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.405/1.405, allocations: 170.5 MB / 319 MB, free: 9.422 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001724/0.001724, allocations: 110.9 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.606e-06, allocations: 0 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1516, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.28/11.44, allocations: 5.32 GB / 5.818 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/11.44, allocations: 89.41 kB / 5.818 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.768/15.2, allocations: 1.069 GB / 6.887 GB, free: 56.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002322/15.2, allocations: 37.75 kB / 6.887 GB, free: 56.69 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.00685/15.21, allocations: 2 MB / 6.889 GB, free: 55.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/15.21, allocations: 9.875 kB / 6.889 GB, free: 55.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/15.21, allocations: 213.7 kB / 6.889 GB, free: 55.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/15.22, allocations: 1.787 MB / 6.891 GB, free: 55.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/15.22, allocations: 36.41 kB / 6.891 GB, free: 55.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/15.22, allocations: 74.91 kB / 6.891 GB, free: 55.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002432/15.22, allocations: 1.158 MB / 6.892 GB, free: 55.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/15.22, allocations: 1.173 MB / 6.893 GB, free: 55.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/15.22, allocations: 5.125 kB / 6.893 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/15.22, allocations: 2.25 kB / 6.893 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/15.22, allocations: 48.52 kB / 6.893 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008152/15.23, allocations: 5.288 MB / 6.898 GB, free: 52.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/15.23, allocations: 0.5166 MB / 6.899 GB, free: 52.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006556/15.23, allocations: 425.1 kB / 6.899 GB, free: 52.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009805/15.23, allocations: 1.42 MB / 6.901 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/15.23, allocations: 43.91 kB / 6.901 GB, free: 51.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=78): time 3.025e-06/15.23, allocations: 0 / 6.901 GB, free: 51.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=84): time 0.01135/15.24, allocations: 3.045 MB / 6.904 GB, free: 50.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/15.24, allocations: 64.38 kB / 6.904 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/15.25, allocations: 1.008 MB / 6.905 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/15.25, allocations: 28.36 kB / 6.905 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/15.25, allocations: 0.4937 MB / 6.905 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/15.25, allocations: 286.7 kB / 6.905 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/15.25, allocations: 0 / 6.905 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001147/15.25, allocations: 345.6 kB / 6.906 GB, free: 49.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/15.25, allocations: 384.5 kB / 6.906 GB, free: 49.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/15.25, allocations: 0.5365 MB / 6.907 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/15.25, allocations: 0.7332 MB / 6.907 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/15.25, allocations: 0 / 6.907 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003955/15.26, allocations: 1.423 MB / 6.909 GB, free: 49.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002816/15.26, allocations: 0.9828 MB / 6.91 GB, free: 48.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/15.26, allocations: 2.75 kB / 6.91 GB, free: 48.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/15.26, allocations: 41.22 kB / 6.91 GB, free: 48.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/15.26, allocations: 279.3 kB / 6.91 GB, free: 48.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/15.26, allocations: 1.819 MB / 6.912 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/15.26, allocations: 101.1 kB / 6.912 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/15.26, allocations: 49.53 kB / 6.912 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/15.26, allocations: 3.562 kB / 6.912 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00324/15.26, allocations: 1.252 MB / 6.913 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/15.26, allocations: 2.25 kB / 6.913 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/15.26, allocations: 36.47 kB / 6.913 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/15.26, allocations: 226.8 kB / 6.913 GB, free: 46.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/15.27, allocations: 1.398 MB / 6.915 GB, free: 45.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/15.27, allocations: 99.23 kB / 6.915 GB, free: 45.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/15.27, allocations: 38.94 kB / 6.915 GB, free: 45.12 MB / 0.5417 GB Warning: Assuming fixed start value for the following 3 variables: floMacDyn.vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = floMacDyn.vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real floMacDyn.vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))))))) start = 0.01 unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] floMacDyn.vol.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))) start = 101325.0 unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004579/15.27, allocations: 235.5 kB / 6.915 GB, free: 44.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/15.27, allocations: 131.6 kB / 6.915 GB, free: 44.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/15.27, allocations: 1.596 MB / 6.917 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/15.27, allocations: 15.25 kB / 6.917 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/15.27, allocations: 1.344 kB / 6.917 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/15.27, allocations: 8.781 kB / 6.917 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007334/15.28, allocations: 2.932 MB / 6.92 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/15.28, allocations: 3.75 kB / 6.92 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/15.28, allocations: 271.3 kB / 6.92 GB, free: 44.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.503e-05/15.28, allocations: 28.16 kB / 6.92 GB, free: 44.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/15.28, allocations: 13.52 kB / 6.92 GB, free: 44.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/15.28, allocations: 3.142 MB / 6.923 GB, free: 41.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/15.28, allocations: 0 / 6.923 GB, free: 41.06 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004104/15.29, allocations: 2.01 MB / 6.925 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/15.29, allocations: 338.8 kB / 6.925 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/15.29, allocations: 3.188 kB / 6.925 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/15.29, allocations: 80.7 kB / 6.925 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/15.29, allocations: 52.66 kB / 6.925 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/15.29, allocations: 37.39 kB / 6.925 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0009951/15.29, allocations: 0.7672 MB / 6.926 GB, free: 40.44 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003439/15.29, allocations: 1.033 MB / 6.927 GB, free: 40.33 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (floMacDyn.vol.dynBal.medium.p,floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003519/15.3, allocations: 2.232 MB / 6.929 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00363/15.3, allocations: 1.851 MB / 6.931 GB, free: 39.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/15.3, allocations: 2.438 kB / 6.931 GB, free: 39.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/15.3, allocations: 0.6886 MB / 6.932 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/15.31, allocations: 0.6552 MB / 6.933 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/15.31, allocations: 2.252 MB / 6.935 GB, free: 38.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/15.31, allocations: 1.507 MB / 6.936 GB, free: 38.22 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/15.31, allocations: 1.438 kB / 6.936 GB, free: 38.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.07072/15.38, allocations: 46.48 MB / 6.982 GB, free: 10.32 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe 2>&1)