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.5682/0.5682, allocations: 94.69 MB / 107.3 MB, free: 5.18 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.001375/0.001375, allocations: 179.6 kB / 130.7 MB, free: 7.543 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.788/1.788, allocations: 170.5 MB / 324.5 MB, free: 3.988 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.001677/0.001677, allocations: 102.6 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.431e-05/5.433e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5815, allocations: 61.51 MB / 0.5054 GB, free: 49.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.57/15.15, allocations: 5.32 GB / 5.826 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/15.15, allocations: 86.91 kB / 5.826 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.713/19.86, allocations: 1.069 GB / 6.894 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.835e-06/19.86, allocations: 7.938 kB / 6.894 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001698/19.86, allocations: 39.98 kB / 6.895 GB, free: 7.789 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.006571/19.87, allocations: 1.954 MB / 6.896 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/19.87, allocations: 12.03 kB / 6.896 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/19.87, allocations: 205.1 kB / 6.897 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/19.88, allocations: 1.767 MB / 6.898 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/19.88, allocations: 86.22 kB / 6.898 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/19.88, allocations: 112 kB / 6.899 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/19.88, allocations: 1.336 MB / 6.9 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/19.88, allocations: 7.938 kB / 6.9 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/19.88, allocations: 47.95 kB / 6.9 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/19.88, allocations: 50.22 kB / 6.9 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/19.88, allocations: 1.242 MB / 6.901 GB, free: 0.8008 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.5512/20.43, allocations: 5.172 MB / 6.906 GB, free: 68.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/20.43, allocations: 0.7993 MB / 6.907 GB, free: 68.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/20.43, allocations: 427.2 kB / 6.907 GB, free: 68.28 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/20.44, allocations: 1.415 MB / 6.909 GB, free: 66.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/20.44, allocations: 48.94 kB / 6.909 GB, free: 66.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=75): time 4.699e-06/20.44, allocations: 0 / 6.909 GB, free: 66.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81): time 0.007908/20.44, allocations: 2.677 MB / 6.911 GB, free: 66.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/20.44, allocations: 64.44 kB / 6.912 GB, free: 66.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/20.45, allocations: 1.237 MB / 6.913 GB, free: 65.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/20.45, allocations: 43.58 kB / 6.913 GB, free: 65.85 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000543/20.45, allocations: 0.6965 MB / 6.913 GB, free: 65.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/20.45, allocations: 280 kB / 6.914 GB, free: 65.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/20.45, allocations: 23.06 kB / 6.914 GB, free: 65.52 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00011/20.45, allocations: 347.9 kB / 6.914 GB, free: 65.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/20.45, allocations: 381.9 kB / 6.914 GB, free: 65.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/20.45, allocations: 0.5534 MB / 6.915 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/20.45, allocations: 0.5093 MB / 6.915 GB, free: 64.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/20.45, allocations: 2.875 kB / 6.915 GB, free: 64.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002441/20.45, allocations: 1.227 MB / 6.917 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003431/20.45, allocations: 1.041 MB / 6.918 GB, free: 63.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/20.45, allocations: 4.781 kB / 6.918 GB, free: 63.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.156e-05/20.45, allocations: 6.812 kB / 6.918 GB, free: 63.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/20.45, allocations: 259.1 kB / 6.918 GB, free: 63.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003451/20.45, allocations: 0.5908 MB / 6.919 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/20.46, allocations: 122.3 kB / 6.919 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/20.46, allocations: 46.25 kB / 6.919 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/20.46, allocations: 3.25 kB / 6.919 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001885/20.46, allocations: 1.073 MB / 6.92 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/20.46, allocations: 3.906 kB / 6.92 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/20.46, allocations: 5.688 kB / 6.92 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/20.46, allocations: 227.5 kB / 6.92 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/20.46, allocations: 9.125 kB / 6.92 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/20.46, allocations: 116.3 kB / 6.92 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/20.46, allocations: 42.61 kB / 6.92 GB, free: 63.03 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: 0 () * Number of discrete 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.0004828/20.46, allocations: 275.9 kB / 6.92 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/20.46, allocations: 144.5 kB / 6.921 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/20.46, allocations: 1.224 MB / 6.922 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/20.46, allocations: 12.88 kB / 6.922 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/20.46, allocations: 0 / 6.922 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/20.46, allocations: 10.36 kB / 6.922 GB, free: 62.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/20.47, allocations: 2.689 MB / 6.924 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/20.47, allocations: 0 / 6.924 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/20.47, allocations: 214.8 kB / 6.925 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/20.47, allocations: 3.75 kB / 6.925 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/20.47, allocations: 27.75 kB / 6.925 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002645/20.47, allocations: 0.586 MB / 6.925 GB, free: 61.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/20.47, allocations: 3.375 kB / 6.925 GB, free: 61.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/20.47, allocations: 1.648 MB / 6.927 GB, free: 61.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008474/20.47, allocations: 362.6 kB / 6.927 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/20.47, allocations: 20.55 kB / 6.927 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/20.47, allocations: 87.61 kB / 6.927 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/20.47, allocations: 55.38 kB / 6.927 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/20.47, allocations: 42.14 kB / 6.927 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001395/20.47, allocations: 0.9552 MB / 6.928 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/20.47, allocations: 6.562 kB / 6.928 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003923/20.48, allocations: 1.119 MB / 6.929 GB, free: 61.11 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 (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.004474/20.48, allocations: 1.912 MB / 6.931 GB, free: 60.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003768/20.49, allocations: 1.836 MB / 6.933 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/20.49, allocations: 3 kB / 6.933 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/20.49, allocations: 0.5175 MB / 6.934 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/20.49, allocations: 0.836 MB / 6.934 GB, free: 60.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/20.5, allocations: 2.24 MB / 6.937 GB, free: 60 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/20.5, allocations: 1.351 MB / 6.938 GB, free: 59.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00301/20.5, allocations: 0.562 MB / 6.938 GB, free: 59.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/20.5, allocations: 105.5 kB / 6.938 GB, free: 59.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.883e-06/20.5, allocations: 1.312 kB / 6.938 GB, free: 59.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.1163/20.62, allocations: 61.7 MB / 6.999 GB, free: 56.96 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)