Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.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_Nrpm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm") [: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.5042/0.5042, allocations: 94.74 MB / 102 MB, free: 10.34 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.001243/0.001244, allocations: 178.2 kB / 125.3 MB, free: 11.99 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.431/1.431, allocations: 170.5 MB / 319 MB, free: 9.301 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.001869/0.001868, allocations: 98.47 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.255e-06, allocations: 224 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.15, allocations: 61.52 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.41/11.56, allocations: 5.329 GB / 5.827 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/11.56, allocations: 88.88 kB / 5.827 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.621/15.18, allocations: 1.089 GB / 6.917 GB, free: 38.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002931/15.18, allocations: 49.59 kB / 6.917 GB, free: 38.89 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.008119/15.19, allocations: 2.537 MB / 6.919 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/15.19, allocations: 12.56 kB / 6.919 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/15.19, allocations: 258.9 kB / 6.919 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/15.2, allocations: 2.762 MB / 6.922 GB, free: 37.08 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/15.2, allocations: 138.3 kB / 6.922 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000836/15.2, allocations: 110.4 kB / 6.922 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003855/15.2, allocations: 2.346 MB / 6.925 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/15.21, allocations: 1.851 MB / 6.926 GB, free: 35.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/15.21, allocations: 6.781 kB / 6.926 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/15.21, allocations: 7.094 kB / 6.926 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/15.21, allocations: 51.81 kB / 6.926 GB, free: 35.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/15.22, allocations: 7.037 MB / 6.933 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/15.22, allocations: 1.121 MB / 6.934 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/15.22, allocations: 0.9817 MB / 6.935 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009223/15.22, allocations: 1.42 MB / 6.937 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/15.22, allocations: 42.97 kB / 6.937 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=80): time 3.426e-06/15.22, allocations: 0 / 6.937 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.01821/15.24, allocations: 6.186 MB / 6.943 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/15.24, allocations: 60.19 kB / 6.943 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/15.24, allocations: 1.336 MB / 6.944 GB, free: 26.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000639/15.24, allocations: 45.7 kB / 6.944 GB, free: 26.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/15.24, allocations: 0.5635 MB / 6.945 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/15.24, allocations: 284.2 kB / 6.945 GB, free: 25.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/15.24, allocations: 20 kB / 6.945 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001188/15.24, allocations: 369.7 kB / 6.945 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/15.25, allocations: 2.187 MB / 6.948 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/15.25, allocations: 2.392 MB / 6.95 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005813/15.26, allocations: 2.624 MB / 6.952 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/15.26, allocations: 0 / 6.952 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.01021/15.27, allocations: 6.362 MB / 6.959 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/15.27, allocations: 0.9874 MB / 6.96 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/15.27, allocations: 4 kB / 6.96 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/15.27, allocations: 2.317 MB / 6.962 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/15.27, allocations: 251.9 kB / 6.962 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/15.28, allocations: 4.51 MB / 6.966 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/15.28, allocations: 188.1 kB / 6.967 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/15.28, allocations: 247.9 kB / 6.967 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/15.28, allocations: 4 kB / 6.967 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/15.29, allocations: 6.143 MB / 6.973 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/15.29, allocations: 0 / 6.973 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/15.3, allocations: 2.678 MB / 6.976 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/15.3, allocations: 210.2 kB / 6.976 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/15.32, allocations: 9.825 MB / 6.985 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/15.32, allocations: 179.8 kB / 6.985 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005361/15.32, allocations: 227.9 kB / 6.986 GB, free: 1.582 MB / 0.5573 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 (107): * Single equations (assignments): 100 * 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.0009626/15.32, allocations: 249.8 kB / 6.986 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/15.32, allocations: 161.8 kB / 6.986 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2401/15.56, allocations: 2.362 MB / 6.988 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/15.56, allocations: 7.875 kB / 6.988 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/15.56, allocations: 3.938 kB / 6.988 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/15.56, allocations: 3.609 kB / 6.988 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007817/15.57, allocations: 3.815 MB / 6.992 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/15.57, allocations: 0 / 6.992 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/15.57, allocations: 203.1 kB / 6.992 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/15.57, allocations: 0.7422 MB / 6.993 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/15.57, allocations: 26.84 kB / 6.993 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/15.57, allocations: 2.617 MB / 6.996 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/15.57, allocations: 2.031 kB / 6.996 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00586/15.58, allocations: 2.97 MB / 6.999 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/15.58, allocations: 407.5 kB / 6.999 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/15.58, allocations: 5.5 kB / 6.999 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/15.58, allocations: 72.53 kB / 6.999 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/15.58, allocations: 67.7 kB / 6.999 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/15.58, allocations: 63.75 kB / 6.999 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001359/15.58, allocations: 0.9573 MB / 7 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005372/15.59, allocations: 1.461 MB / 7.002 GB, free: 105.3 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 (88): * Single equations (assignments): 84 * 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.004693/15.59, allocations: 2.478 MB / 7.004 GB, free: 105 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01544/15.61, allocations: 15.24 MB / 7.019 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/15.61, allocations: 0 / 7.019 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/15.61, allocations: 0.6759 MB / 7.019 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/15.62, allocations: 0.6727 MB / 7.02 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/15.62, allocations: 2.697 MB / 7.023 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/15.62, allocations: 1.648 MB / 7.024 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/15.62, allocations: 1.969 kB / 7.024 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.1033/15.73, allocations: 70.87 MB / 7.094 GB, free: 99.34 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_Nrpm.pipe 2>&1)