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.5778/0.5778, allocations: 94.77 MB / 102.2 MB, free: 14.07 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.001409/0.001409, allocations: 172.1 kB / 125.6 MB, free: 7.918 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.743/1.743, allocations: 170.6 MB / 319.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001855/0.001855, allocations: 110.7 kB / 381.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.744e-05, allocations: 4 kB / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 61.53 MB / 0.4987 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.99/15.12, allocations: 5.329 GB / 5.828 GB, free: 177 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/15.12, allocations: 88.83 kB / 5.828 GB, free: 177 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.654/19.78, allocations: 1.077 GB / 6.905 GB, free: 71.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.455e-06/19.78, allocations: 3.375 kB / 6.905 GB, free: 71.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004945/19.78, allocations: 51.69 kB / 6.905 GB, free: 71.03 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.01395/19.79, allocations: 2.502 MB / 6.908 GB, free: 70.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/19.79, allocations: 7.969 kB / 6.908 GB, free: 70.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/19.8, allocations: 257.6 kB / 6.908 GB, free: 69.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/19.81, allocations: 2.757 MB / 6.911 GB, free: 69.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/19.81, allocations: 132.6 kB / 6.911 GB, free: 69.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/19.81, allocations: 109.3 kB / 6.911 GB, free: 69.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006551/19.82, allocations: 2.238 MB / 6.913 GB, free: 69.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004935/19.82, allocations: 1.803 MB / 6.915 GB, free: 69.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/19.82, allocations: 0 / 6.915 GB, free: 69.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/19.82, allocations: 1.875 kB / 6.915 GB, free: 69.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/19.82, allocations: 50.92 kB / 6.915 GB, free: 69.32 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.0189/19.84, allocations: 6.703 MB / 6.922 GB, free: 67.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/19.85, allocations: 2.64 MB / 6.924 GB, free: 67.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/19.86, allocations: 0.9356 MB / 6.925 GB, free: 67.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/19.86, allocations: 1.421 MB / 6.927 GB, free: 65.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/19.86, allocations: 41.91 kB / 6.927 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 7.324e-06/19.86, allocations: 1.188 kB / 6.927 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.03001/19.89, allocations: 5.865 MB / 6.932 GB, free: 65.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/19.89, allocations: 58.56 kB / 6.932 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/19.89, allocations: 1.312 MB / 6.934 GB, free: 64.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00146/19.9, allocations: 49.67 kB / 6.934 GB, free: 64.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/19.9, allocations: 0.8021 MB / 6.934 GB, free: 64.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000908/19.9, allocations: 288.3 kB / 6.935 GB, free: 64.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/19.9, allocations: 21.38 kB / 6.935 GB, free: 64.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002991/19.9, allocations: 373.2 kB / 6.935 GB, free: 64.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005701/19.91, allocations: 2.114 MB / 6.937 GB, free: 64.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/19.91, allocations: 2.32 MB / 6.939 GB, free: 63.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007754/19.92, allocations: 2.524 MB / 6.942 GB, free: 63.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/19.92, allocations: 96 / 6.942 GB, free: 63.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.01711/19.94, allocations: 5.787 MB / 6.948 GB, free: 63.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008631/19.94, allocations: 1.405 MB / 6.949 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/19.94, allocations: 3.281 kB / 6.949 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/19.94, allocations: 2.279 MB / 6.951 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/19.94, allocations: 237.5 kB / 6.951 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00671/19.95, allocations: 4.373 MB / 6.956 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/19.95, allocations: 214 kB / 6.956 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/19.96, allocations: 262.4 kB / 6.956 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/19.96, allocations: 7.188 kB / 6.956 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01734/19.97, allocations: 6.359 MB / 6.962 GB, free: 60.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/19.97, allocations: 1.406 kB / 6.962 GB, free: 60.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00557/19.98, allocations: 2.849 MB / 6.965 GB, free: 59.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/19.98, allocations: 210 kB / 6.965 GB, free: 59.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/20, allocations: 8.709 MB / 6.974 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/20, allocations: 204 kB / 6.974 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/20, allocations: 240.5 kB / 6.974 GB, free: 55.12 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.001709/20, allocations: 274.1 kB / 6.974 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008998/20.01, allocations: 162.7 kB / 6.975 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007296/20.01, allocations: 2.226 MB / 6.977 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/20.01, allocations: 14.36 kB / 6.977 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/20.01, allocations: 0 / 6.977 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/20.01, allocations: 4.594 kB / 6.977 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/20.03, allocations: 3.734 MB / 6.98 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/20.03, allocations: 1.281 kB / 6.98 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/20.03, allocations: 208.3 kB / 6.981 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/20.03, allocations: 0.7343 MB / 6.981 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/20.03, allocations: 21.12 kB / 6.981 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/20.03, allocations: 2.551 MB / 6.984 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/20.03, allocations: 9.625 kB / 6.984 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006893/20.04, allocations: 2.864 MB / 6.987 GB, free: 49.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/20.04, allocations: 403.2 kB / 6.987 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007259/20.04, allocations: 7.391 kB / 6.987 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/20.04, allocations: 71.89 kB / 6.987 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/20.04, allocations: 69.81 kB / 6.987 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/20.04, allocations: 59.33 kB / 6.987 GB, free: 49.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001958/20.04, allocations: 0.9474 MB / 6.988 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.402e-06/20.04, allocations: 0 / 6.988 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007755/20.05, allocations: 1.629 MB / 6.99 GB, free: 47.61 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.004804/20.06, allocations: 2.554 MB / 6.992 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01896/20.08, allocations: 24.57 MB / 7.016 GB, free: 21.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/20.08, allocations: 0 / 7.016 GB, free: 21.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/20.08, allocations: 0.6488 MB / 7.017 GB, free: 21.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/20.08, allocations: 0.6979 MB / 7.018 GB, free: 20.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/20.09, allocations: 2.595 MB / 7.02 GB, free: 18.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/20.09, allocations: 1.509 MB / 7.022 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003598/20.09, allocations: 0.4906 MB / 7.022 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/20.09, allocations: 102.8 kB / 7.022 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of SimCode: time 1.883e-06/20.09, allocations: 5.5 kB / 7.022 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of Templates: time 0.5846/20.68, allocations: 68.72 MB / 7.089 GB, free: 69.03 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)