Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y") [: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.5017/0.5017, allocations: 94.74 MB / 102 MB, free: 10.36 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.00115/0.00115, allocations: 183.8 kB / 125.3 MB, free: 11.98 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.465/1.465, allocations: 170.5 MB / 319 MB, free: 9.348 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.001737/0.001737, allocations: 113.1 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.929e-06, allocations: 224 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1657, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.38/11.54, allocations: 5.329 GB / 5.827 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/11.54, allocations: 83.05 kB / 5.827 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.877/15.42, allocations: 1.09 GB / 6.917 GB, free: 43.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004345/15.42, allocations: 50.27 kB / 6.917 GB, free: 43.02 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01204/15.43, allocations: 2.557 MB / 6.919 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/15.43, allocations: 9.344 kB / 6.919 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/15.44, allocations: 255 kB / 6.92 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/15.45, allocations: 2.763 MB / 6.922 GB, free: 41.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006079/15.45, allocations: 134.8 kB / 6.923 GB, free: 41.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/15.45, allocations: 111.9 kB / 6.923 GB, free: 41.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00688/15.46, allocations: 2.358 MB / 6.925 GB, free: 41.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/15.46, allocations: 1.864 MB / 6.927 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/15.46, allocations: 3 kB / 6.927 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003542/15.46, allocations: 0 / 6.927 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/15.46, allocations: 55.12 kB / 6.927 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/15.48, allocations: 7.091 MB / 6.934 GB, free: 38.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/15.48, allocations: 1.124 MB / 6.935 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/15.48, allocations: 0.9947 MB / 6.936 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/15.48, allocations: 1.415 MB / 6.937 GB, free: 37.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/15.48, allocations: 43.81 kB / 6.937 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 2.766e-06/15.48, allocations: 0 / 6.937 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88): time 0.01917/15.5, allocations: 6.276 MB / 6.943 GB, free: 34.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/15.5, allocations: 63.22 kB / 6.943 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/15.5, allocations: 1.331 MB / 6.945 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008717/15.5, allocations: 42.83 kB / 6.945 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009692/15.51, allocations: 0.5724 MB / 6.945 GB, free: 33.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/15.51, allocations: 296.6 kB / 6.946 GB, free: 33.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006079/15.51, allocations: 17.69 kB / 6.946 GB, free: 33.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001617/15.51, allocations: 368.2 kB / 6.946 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/15.51, allocations: 2.187 MB / 6.948 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/15.51, allocations: 2.394 MB / 6.95 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006647/15.52, allocations: 2.625 MB / 6.953 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/15.52, allocations: 1.188 kB / 6.953 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01822/15.54, allocations: 6.507 MB / 6.959 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002535/15.54, allocations: 0.9809 MB / 6.96 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/15.54, allocations: 6.812 kB / 6.96 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/15.54, allocations: 2.316 MB / 6.963 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/15.54, allocations: 247.3 kB / 6.963 GB, free: 26.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004982/15.55, allocations: 4.379 MB / 6.967 GB, free: 22.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/15.55, allocations: 184.4 kB / 6.967 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/15.55, allocations: 252 kB / 6.968 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/15.55, allocations: 4 kB / 6.968 GB, free: 22.39 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01547/15.57, allocations: 6.145 MB / 6.974 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/15.57, allocations: 2.625 kB / 6.974 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005564/15.57, allocations: 2.688 MB / 6.976 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/15.58, allocations: 207.3 kB / 6.976 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/15.59, allocations: 9.84 MB / 6.986 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/15.6, allocations: 184.2 kB / 6.986 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/15.6, allocations: 232.4 kB / 6.986 GB, free: 5.945 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: 8 (floMacSta.curve,floMacSta.haveMinimumDecrease,floMacSta.haveDPMax,floMacSta.haveVMax,floMacDyn.curve,floMacDyn.haveMinimumDecrease,floMacDyn.haveDPMax,floMacDyn.haveVMax) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001405/15.6, allocations: 245.1 kB / 6.987 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007843/15.6, allocations: 164.4 kB / 6.987 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007007/15.61, allocations: 2.364 MB / 6.989 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/15.61, allocations: 12 kB / 6.989 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/15.61, allocations: 2 kB / 6.989 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/15.61, allocations: 4.406 kB / 6.989 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009048/15.62, allocations: 3.683 MB / 6.993 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/15.62, allocations: 0 / 6.993 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/15.62, allocations: 210.4 kB / 6.993 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/15.62, allocations: 0.7417 MB / 6.994 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/15.62, allocations: 23.97 kB / 6.994 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/15.62, allocations: 2.625 MB / 6.996 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/15.62, allocations: 3.906 kB / 6.996 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006906/15.63, allocations: 2.854 MB / 6.999 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/15.63, allocations: 410.7 kB / 6.999 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006364/15.63, allocations: 7.984 kB / 6.999 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/15.63, allocations: 71.64 kB / 6.999 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/15.63, allocations: 60.91 kB / 7 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/15.63, allocations: 63.95 kB / 7 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00223/15.64, allocations: 0.9657 MB / 7.001 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007441/15.64, allocations: 1.462 MB / 7.002 GB, free: 6.383 MB / 0.5573 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005854/15.65, allocations: 2.485 MB / 7.004 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2851/15.94, allocations: 15.27 MB / 7.019 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/15.94, allocations: 6.188 kB / 7.019 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/15.94, allocations: 0.6733 MB / 7.02 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/15.94, allocations: 0.6699 MB / 7.021 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006211/15.95, allocations: 2.717 MB / 7.023 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/15.95, allocations: 1.653 MB / 7.025 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/15.95, allocations: 0 / 7.025 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.1042/16.05, allocations: 72.21 MB / 7.095 GB, free: 101.5 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe 2>&1)