Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5455/0.5455, allocations: 95.62 MB / 110.6 MB, free: 9.395 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.001213/0.001213, allocations: 170 kB / 134.2 MB, free: 2.266 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.549/1.549, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001624/0.001624, allocations: 99.39 kB / 390.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004113, allocations: 16 kB / 462.7 MB, free: 35.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1663, allocations: 61.53 MB / 0.512 GB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.36/13.52, allocations: 5.32 GB / 5.832 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/13.52, allocations: 93.06 kB / 5.832 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.27/17.79, allocations: 1.07 GB / 6.903 GB, free: 68.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.174e-06/17.8, allocations: 0 / 6.903 GB, free: 68.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003729/17.8, allocations: 45.41 kB / 6.903 GB, free: 68.08 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.01032/17.81, allocations: 2.218 MB / 6.905 GB, free: 67.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/17.81, allocations: 11.42 kB / 6.905 GB, free: 67.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/17.81, allocations: 201.5 kB / 6.905 GB, free: 67 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/17.81, allocations: 1.778 MB / 6.907 GB, free: 66.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/17.81, allocations: 92.75 kB / 6.907 GB, free: 66.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/17.81, allocations: 111.8 kB / 6.907 GB, free: 66.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/17.82, allocations: 1.366 MB / 6.908 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/17.82, allocations: 2.344 kB / 6.908 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/17.82, allocations: 49.69 kB / 6.908 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-05/17.82, allocations: 51.06 kB / 6.908 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/17.82, allocations: 1.308 MB / 6.91 GB, free: 66.44 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.009855/17.83, allocations: 5.183 MB / 6.915 GB, free: 64.53 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/17.83, allocations: 0.8296 MB / 6.916 GB, free: 64.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/17.83, allocations: 1.424 MB / 6.917 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/17.83, allocations: 42.66 kB / 6.917 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=75): time 4.609e-06/17.83, allocations: 3.328 kB / 6.917 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81): time 0.009335/17.84, allocations: 3.09 MB / 6.92 GB, free: 62.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/17.84, allocations: 63.23 kB / 6.92 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/17.85, allocations: 1.251 MB / 6.921 GB, free: 62.06 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/17.85, allocations: 44.27 kB / 6.921 GB, free: 62.03 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/17.85, allocations: 0.7009 MB / 6.922 GB, free: 61.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/17.85, allocations: 285 kB / 6.922 GB, free: 61.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/17.85, allocations: 17.22 kB / 6.922 GB, free: 61.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000105/17.85, allocations: 349.1 kB / 6.923 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/17.85, allocations: 407.6 kB / 6.923 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/17.85, allocations: 0.5774 MB / 6.924 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/17.85, allocations: 0.5385 MB / 6.924 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/17.85, allocations: 0 / 6.924 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002455/17.85, allocations: 1.279 MB / 6.925 GB, free: 60.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/17.85, allocations: 1.043 MB / 6.926 GB, free: 59.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/17.85, allocations: 7.453 kB / 6.926 GB, free: 59.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.888e-05/17.85, allocations: 6.719 kB / 6.926 GB, free: 59.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/17.85, allocations: 259.7 kB / 6.927 GB, free: 59.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004138/17.85, allocations: 0.5966 MB / 6.927 GB, free: 59.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/17.86, allocations: 120.3 kB / 6.927 GB, free: 59.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/17.86, allocations: 41.08 kB / 6.927 GB, free: 59.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/17.86, allocations: 3.875 kB / 6.927 GB, free: 59.19 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002232/17.86, allocations: 1.134 MB / 6.929 GB, free: 59.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/17.86, allocations: 3.812 kB / 6.929 GB, free: 59.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/17.86, allocations: 9.25 kB / 6.929 GB, free: 59.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/17.86, allocations: 221.2 kB / 6.929 GB, free: 59.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/17.86, allocations: 8.438 kB / 6.929 GB, free: 59.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/17.86, allocations: 118.9 kB / 6.929 GB, free: 59.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/17.86, allocations: 42.84 kB / 6.929 GB, free: 59.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001665/17.86, allocations: 0.5562 MB / 6.929 GB, free: 58.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/17.86, allocations: 144.7 kB / 6.93 GB, free: 58.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/17.87, allocations: 1.267 MB / 6.931 GB, free: 58.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/17.87, allocations: 10.44 kB / 6.931 GB, free: 58.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/17.87, allocations: 0 / 6.931 GB, free: 58.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/17.87, allocations: 3.844 kB / 6.931 GB, free: 58.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/17.87, allocations: 2.729 MB / 6.934 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/17.87, allocations: 8.047 kB / 6.934 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/17.87, allocations: 220.1 kB / 6.934 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/17.87, allocations: 3.188 kB / 6.934 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/17.87, allocations: 21.73 kB / 6.934 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002466/17.87, allocations: 0.5931 MB / 6.934 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/17.87, allocations: 7.062 kB / 6.934 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/17.88, allocations: 1.729 MB / 6.936 GB, free: 57.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/17.88, allocations: 367.2 kB / 6.936 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/17.88, allocations: 17.78 kB / 6.936 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/17.88, allocations: 84.67 kB / 6.937 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/17.88, allocations: 58.61 kB / 6.937 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/17.88, allocations: 41.69 kB / 6.937 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00174/17.88, allocations: 0.9729 MB / 6.938 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/17.88, allocations: 0 / 6.938 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004504/17.89, allocations: 1.125 MB / 6.939 GB, free: 56.96 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 (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.00491/17.89, allocations: 1.911 MB / 6.941 GB, free: 56.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003715/17.9, allocations: 1.866 MB / 6.942 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/17.9, allocations: 3.156 kB / 6.942 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/17.9, allocations: 0.5469 MB / 6.943 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/17.9, allocations: 0.8356 MB / 6.944 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/17.91, allocations: 3.419 MB / 6.947 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/17.91, allocations: 1.351 MB / 6.948 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002384/17.91, allocations: 424.3 kB / 6.949 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/17.91, allocations: 128.5 kB / 6.949 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.343e-06/17.91, allocations: 0 / 6.949 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.08203/17.99, allocations: 53.92 MB / 7.002 GB, free: 30.39 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_m_flow.pipe 2>&1)