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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5983/0.5983, allocations: 94.69 MB / 107.2 MB, free: 5.195 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.001281/0.001281, allocations: 177.7 kB / 130.7 MB, free: 7.551 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.667/1.667, allocations: 170.5 MB / 324.5 MB, free: 4.066 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.001648/0.001648, allocations: 105.2 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.064e-05, allocations: 4 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4104, allocations: 61.51 MB / 0.5054 GB, free: 49.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.73/16.14, allocations: 5.33 GB / 5.835 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/16.14, allocations: 91.62 kB / 5.835 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.567/20.71, allocations: 1.09 GB / 6.925 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.104e-06/20.71, allocations: 0 / 6.925 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002776/20.71, allocations: 47.98 kB / 6.925 GB, free: 44.2 MB / 0.5573 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.01211/20.72, allocations: 2.51 MB / 6.927 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/20.72, allocations: 8.031 kB / 6.927 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/20.72, allocations: 256.5 kB / 6.928 GB, free: 41.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/20.73, allocations: 2.753 MB / 6.93 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/20.73, allocations: 193.6 kB / 6.931 GB, free: 38.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009644/20.73, allocations: 156 kB / 6.931 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003753/20.74, allocations: 1.988 MB / 6.933 GB, free: 36.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/20.74, allocations: 0 / 6.933 GB, free: 36.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/20.74, allocations: 48 kB / 6.933 GB, free: 36.13 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/20.74, allocations: 50.2 kB / 6.933 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/20.74, allocations: 1.578 MB / 6.934 GB, free: 34.49 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/20.75, allocations: 6.983 MB / 6.941 GB, free: 27.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/20.76, allocations: 1.883 MB / 6.943 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/20.76, allocations: 0.5672 MB / 6.944 GB, free: 24.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/20.76, allocations: 1.422 MB / 6.945 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/20.76, allocations: 39.34 kB / 6.945 GB, free: 22.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/20.76, allocations: 0 / 6.945 GB, free: 22.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01104/20.77, allocations: 3.645 MB / 6.948 GB, free: 19.29 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/20.77, allocations: 64.19 kB / 6.949 GB, free: 19.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/20.78, allocations: 1.569 MB / 6.95 GB, free: 17.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007141/20.78, allocations: 61.7 kB / 6.95 GB, free: 17.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/20.78, allocations: 0.7872 MB / 6.951 GB, free: 16.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/20.78, allocations: 307.5 kB / 6.951 GB, free: 16.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/20.78, allocations: 40 kB / 6.951 GB, free: 16.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001086/20.78, allocations: 369.9 kB / 6.952 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/20.78, allocations: 1.729 MB / 6.953 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/20.78, allocations: 1.933 MB / 6.955 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/20.78, allocations: 2.193 MB / 6.957 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/20.78, allocations: 4 kB / 6.957 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.007085/20.79, allocations: 4.734 MB / 6.962 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006668/20.79, allocations: 1.424 MB / 6.963 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/20.79, allocations: 4 kB / 6.963 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/20.8, allocations: 1.114 MB / 6.964 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/20.8, allocations: 239.7 kB / 6.965 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4824/21.28, allocations: 2.671 MB / 6.967 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/21.28, allocations: 234.7 kB / 6.967 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/21.28, allocations: 267.7 kB / 6.968 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/21.28, allocations: 6.031 kB / 6.968 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01381/21.3, allocations: 6.898 MB / 6.974 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/21.3, allocations: 2.156 kB / 6.974 GB, free: 58.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006894/21.31, allocations: 2.902 MB / 6.977 GB, free: 58.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/21.31, allocations: 213.6 kB / 6.978 GB, free: 58.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/21.33, allocations: 8.853 MB / 6.986 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/21.33, allocations: 224.5 kB / 6.986 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008511/21.33, allocations: 240.6 kB / 6.987 GB, free: 56.06 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.001083/21.33, allocations: 303.2 kB / 6.987 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/21.33, allocations: 170.8 kB / 6.987 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/21.34, allocations: 2.068 MB / 6.989 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/21.34, allocations: 12.14 kB / 6.989 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/21.34, allocations: 7.047 kB / 6.989 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/21.34, allocations: 5.25 kB / 6.989 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006635/21.34, allocations: 3.708 MB / 6.993 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/21.34, allocations: 0 / 6.993 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/21.34, allocations: 206.7 kB / 6.993 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/21.35, allocations: 0.9396 MB / 6.994 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/21.35, allocations: 34.03 kB / 6.994 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/21.35, allocations: 2.391 MB / 6.996 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/21.35, allocations: 1.562 kB / 6.996 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/21.35, allocations: 2.706 MB / 6.999 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/21.35, allocations: 432.4 kB / 6.999 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/21.36, allocations: 25.88 kB / 6.999 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/21.36, allocations: 86.05 kB / 6.999 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/21.36, allocations: 69.28 kB / 6.999 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/21.36, allocations: 60.64 kB / 6.999 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002181/21.36, allocations: 1.17 MB / 7.001 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/21.36, allocations: 0 / 7.001 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009025/21.37, allocations: 1.729 MB / 7.002 GB, free: 53.04 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.007178/21.38, allocations: 2.269 MB / 7.005 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02925/21.4, allocations: 24.13 MB / 7.028 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/21.4, allocations: 1.469 kB / 7.028 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/21.41, allocations: 0.6808 MB / 7.029 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/21.41, allocations: 0.8504 MB / 7.03 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/21.42, allocations: 2.688 MB / 7.032 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/21.42, allocations: 1.501 MB / 7.034 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002963/21.42, allocations: 0.5723 MB / 7.034 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/21.42, allocations: 107.6 kB / 7.034 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of SimCode: time 1.243e-06/21.42, allocations: 0 / 7.034 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.146/21.57, allocations: 94.62 MB / 7.127 GB, free: 35.68 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)