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.5596/0.5596, allocations: 95.62 MB / 110.6 MB, free: 9.375 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: 167.3 kB / 134.2 MB, free: 2.262 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.467/1.467, allocations: 170.7 MB / 328.4 MB, free: 12.24 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.001844/0.001844, allocations: 101.9 kB / 390.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004344, allocations: 8 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 61.52 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.43/13.56, allocations: 5.33 GB / 5.842 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/13.56, allocations: 95.84 kB / 5.842 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.116/17.68, allocations: 1.091 GB / 6.933 GB, free: 59.61 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.065e-06/17.68, allocations: 2.531 kB / 6.933 GB, free: 59.61 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000198/17.68, allocations: 47.02 kB / 6.933 GB, free: 59.61 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.01043/17.69, allocations: 2.837 MB / 6.936 GB, free: 58.34 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/17.69, allocations: 15.33 kB / 6.936 GB, free: 58.34 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/17.69, allocations: 259.7 kB / 6.936 GB, free: 58.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/17.7, allocations: 2.761 MB / 6.939 GB, free: 57.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/17.7, allocations: 194.5 kB / 6.939 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006531/17.7, allocations: 153.9 kB / 6.939 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/17.7, allocations: 2.023 MB / 6.941 GB, free: 57.56 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/17.7, allocations: 0 / 6.941 GB, free: 57.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/17.7, allocations: 46.75 kB / 6.941 GB, free: 57.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/17.7, allocations: 52.89 kB / 6.941 GB, free: 57.56 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/17.71, allocations: 1.646 MB / 6.943 GB, free: 57.54 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01247/17.72, allocations: 6.98 MB / 6.95 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00671/17.72, allocations: 1.914 MB / 6.952 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/17.73, allocations: 1.414 MB / 6.953 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/17.73, allocations: 48.62 kB / 6.953 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 4.779e-06/17.73, allocations: 2 kB / 6.953 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01577/17.74, allocations: 4.807 MB / 6.958 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/17.74, allocations: 66.98 kB / 6.958 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/17.74, allocations: 1.59 MB / 6.959 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006411/17.74, allocations: 67.59 kB / 6.959 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000686/17.75, allocations: 0.7864 MB / 6.96 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/17.75, allocations: 296.2 kB / 6.961 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/17.75, allocations: 36.12 kB / 6.961 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001469/17.75, allocations: 369.5 kB / 6.961 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/17.75, allocations: 1.768 MB / 6.963 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/17.75, allocations: 1.983 MB / 6.965 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/17.75, allocations: 2.237 MB / 6.967 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/17.75, allocations: 0 / 6.967 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.007353/17.76, allocations: 4.809 MB / 6.971 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006074/17.76, allocations: 1.421 MB / 6.973 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/17.76, allocations: 2.953 kB / 6.973 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/17.76, allocations: 1.174 MB / 6.974 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/17.77, allocations: 236 kB / 6.974 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/17.77, allocations: 2.687 MB / 6.977 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/17.77, allocations: 236.2 kB / 6.977 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000644/17.77, allocations: 265.7 kB / 6.977 GB, free: 45.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/17.77, allocations: 3.594 kB / 6.977 GB, free: 45.43 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/17.79, allocations: 6.992 MB / 6.984 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/17.79, allocations: 0 / 6.984 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00576/17.79, allocations: 2.95 MB / 6.987 GB, free: 42.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/17.79, allocations: 205.4 kB / 6.987 GB, free: 42.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/17.81, allocations: 9.2 MB / 6.996 GB, free: 35.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/17.81, allocations: 225.8 kB / 6.996 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005974/17.81, allocations: 240.4 kB / 6.997 GB, free: 35.54 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.002047/17.82, allocations: 0.6539 MB / 6.997 GB, free: 34.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/17.82, allocations: 173.2 kB / 6.997 GB, free: 34.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/17.82, allocations: 2.112 MB / 7 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/17.82, allocations: 15.05 kB / 7 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/17.82, allocations: 0 / 7 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/17.82, allocations: 7.281 kB / 7 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/17.83, allocations: 3.759 MB / 7.003 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/17.83, allocations: 0 / 7.003 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/17.83, allocations: 210.6 kB / 7.003 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/17.83, allocations: 0.9512 MB / 7.004 GB, free: 28.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/17.83, allocations: 37.64 kB / 7.004 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/17.83, allocations: 2.392 MB / 7.007 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/17.83, allocations: 4 kB / 7.007 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/17.84, allocations: 2.784 MB / 7.009 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/17.84, allocations: 425.8 kB / 7.01 GB, free: 23.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/17.84, allocations: 16 kB / 7.01 GB, free: 23.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/17.84, allocations: 100.4 kB / 7.01 GB, free: 23.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/17.84, allocations: 66.55 kB / 7.01 GB, free: 23.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/17.84, allocations: 59.31 kB / 7.01 GB, free: 23.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002391/17.84, allocations: 1.188 MB / 7.011 GB, free: 22.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/17.84, allocations: 3.938 kB / 7.011 GB, free: 22.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008813/17.85, allocations: 1.721 MB / 7.013 GB, free: 20.86 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 () * Number of clocked 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.006522/17.86, allocations: 2.279 MB / 7.015 GB, free: 19.33 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02858/17.89, allocations: 24.6 MB / 7.039 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/17.89, allocations: 0 / 7.039 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/17.89, allocations: 0.7051 MB / 7.04 GB, free: 12.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/17.9, allocations: 0.8721 MB / 7.041 GB, free: 11.49 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/17.91, allocations: 4.013 MB / 7.045 GB, free: 7.488 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/17.91, allocations: 1.507 MB / 7.046 GB, free: 5.945 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002766/17.91, allocations: 408.4 kB / 7.046 GB, free: 5.566 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/17.91, allocations: 135.4 kB / 7.047 GB, free: 5.434 MB / 0.573 GB Notification: Performance of SimCode: time 1.774e-06/17.91, allocations: 0 / 7.047 GB, free: 5.434 MB / 0.573 GB Notification: Performance of Templates: time 0.5737/18.49, allocations: 86.64 MB / 7.131 GB, free: 74.71 MB / 0.573 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)