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.5965/0.5965, allocations: 94.78 MB / 102.2 MB, free: 10.13 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.001229/0.001229, allocations: 166.1 kB / 125.5 MB, free: 11.88 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.824/1.824, allocations: 170.6 MB / 319.4 MB, free: 9.324 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.001658/0.001658, allocations: 106.9 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1672, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.91/15.07, allocations: 5.32 GB / 5.818 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/15.07, allocations: 88.22 kB / 5.818 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.498/19.57, allocations: 1.056 GB / 6.875 GB, free: 55.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.156e-06/19.57, allocations: 3.125 kB / 6.875 GB, free: 55.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001963/19.57, allocations: 47.62 kB / 6.875 GB, free: 55.16 MB / 0.5417 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.007047/19.58, allocations: 1.952 MB / 6.877 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/19.58, allocations: 10.53 kB / 6.877 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007846/19.58, allocations: 205 kB / 6.877 GB, free: 54.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/19.59, allocations: 1.77 MB / 6.879 GB, free: 53.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/19.59, allocations: 34.81 kB / 6.879 GB, free: 53.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/19.59, allocations: 65.09 kB / 6.879 GB, free: 53.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00208/19.59, allocations: 1.132 MB / 6.88 GB, free: 53.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/19.59, allocations: 1.151 MB / 6.881 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/19.59, allocations: 3.219 kB / 6.881 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/19.59, allocations: 0 / 6.881 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/19.59, allocations: 49.81 kB / 6.881 GB, free: 53.62 MB / 0.5417 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.008077/19.6, allocations: 4.917 MB / 6.886 GB, free: 51.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/19.6, allocations: 0.7665 MB / 6.887 GB, free: 51.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/19.6, allocations: 410.1 kB / 6.887 GB, free: 51.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/19.6, allocations: 1.415 MB / 6.888 GB, free: 50.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/19.6, allocations: 44.38 kB / 6.888 GB, free: 50.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=75): time 7.234e-06/19.6, allocations: 0 / 6.888 GB, free: 50.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81): time 0.009535/19.61, allocations: 2.892 MB / 6.891 GB, free: 49.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/19.61, allocations: 59.47 kB / 6.891 GB, free: 49.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/19.61, allocations: 0.9955 MB / 6.892 GB, free: 49.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-05/19.61, allocations: 29.61 kB / 6.892 GB, free: 49.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/19.61, allocations: 0.7014 MB / 6.893 GB, free: 49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/19.61, allocations: 269.2 kB / 6.893 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/19.61, allocations: 0 / 6.893 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001108/19.61, allocations: 338.4 kB / 6.893 GB, free: 48.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/19.61, allocations: 372.2 kB / 6.894 GB, free: 48.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/19.61, allocations: 0.5326 MB / 6.894 GB, free: 48.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/19.62, allocations: 0.6821 MB / 6.895 GB, free: 48.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/19.62, allocations: 3.031 kB / 6.895 GB, free: 48.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003571/19.62, allocations: 1.344 MB / 6.896 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/19.62, allocations: 1.033 MB / 6.897 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/19.62, allocations: 5.188 kB / 6.897 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.272e-05/19.62, allocations: 6.156 kB / 6.897 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/19.62, allocations: 257.1 kB / 6.898 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004306/19.62, allocations: 0.6071 MB / 6.898 GB, free: 46.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/19.62, allocations: 105.1 kB / 6.898 GB, free: 46.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/19.62, allocations: 48.34 kB / 6.898 GB, free: 46.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/19.62, allocations: 3.906 kB / 6.898 GB, free: 46.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/19.63, allocations: 1.113 MB / 6.899 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/19.63, allocations: 3.812 kB / 6.899 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/19.63, allocations: 9.234 kB / 6.899 GB, free: 46.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/19.63, allocations: 227 kB / 6.9 GB, free: 46.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/19.63, allocations: 6.75 kB / 6.9 GB, free: 46.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/19.63, allocations: 98.77 kB / 6.9 GB, free: 46.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/19.63, allocations: 48.33 kB / 6.9 GB, free: 46.48 MB / 0.5417 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.0005533/19.63, allocations: 235.8 kB / 6.9 GB, free: 46.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/19.63, allocations: 132.2 kB / 6.9 GB, free: 46.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/19.63, allocations: 1.369 MB / 6.901 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/19.63, allocations: 7.781 kB / 6.901 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/19.63, allocations: 0 / 6.901 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/19.63, allocations: 7.359 kB / 6.902 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/19.64, allocations: 2.701 MB / 6.904 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/19.64, allocations: 0 / 6.904 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/19.64, allocations: 218.1 kB / 6.904 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/19.64, allocations: 3.938 kB / 6.904 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/19.64, allocations: 19.89 kB / 6.904 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005308/19.64, allocations: 0.6022 MB / 6.905 GB, free: 45.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/19.64, allocations: 0 / 6.905 GB, free: 45.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/19.65, allocations: 1.802 MB / 6.907 GB, free: 44.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/19.65, allocations: 333.5 kB / 6.907 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/19.65, allocations: 9.359 kB / 6.907 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/19.65, allocations: 77.88 kB / 6.907 GB, free: 44.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/19.65, allocations: 52.61 kB / 6.907 GB, free: 44.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/19.65, allocations: 40.78 kB / 6.907 GB, free: 44.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001755/19.65, allocations: 0.752 MB / 6.908 GB, free: 44.56 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/19.65, allocations: 0 / 6.908 GB, free: 44.56 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005378/19.66, allocations: 1.007 MB / 6.909 GB, free: 44.45 MB / 0.5417 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.005928/19.66, allocations: 2.214 MB / 6.911 GB, free: 44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003485/19.67, allocations: 1.756 MB / 6.913 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/19.67, allocations: 1.969 kB / 6.913 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/19.67, allocations: 0.4944 MB / 6.913 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/19.67, allocations: 0.6739 MB / 6.914 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/19.68, allocations: 2.159 MB / 6.916 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/19.68, allocations: 1.358 MB / 6.917 GB, free: 42.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003016/19.68, allocations: 498 kB / 6.918 GB, free: 42.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/19.68, allocations: 100.5 kB / 6.918 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of SimCode: time 2.154e-06/19.68, allocations: 3.375 kB / 6.918 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of Templates: time 0.07156/19.75, allocations: 40.16 MB / 6.957 GB, free: 30.52 MB / 0.5417 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)