Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6162/0.6162, allocations: 94.78 MB / 102.3 MB, free: 10.12 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.001672/0.001672, allocations: 176.7 kB / 125.6 MB, free: 11.87 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.975/1.975, allocations: 170.6 MB / 319.4 MB, free: 9.328 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.002002/0.002003, allocations: 102.4 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.49e-05, allocations: 4 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1823, allocations: 61.53 MB / 0.4987 GB, free: 4.117 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.37/15.56, allocations: 5.329 GB / 5.828 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/15.56, allocations: 85.78 kB / 5.828 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.812/20.37, allocations: 1.077 GB / 6.905 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/20.37, allocations: 0 / 6.905 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003378/20.37, allocations: 52 kB / 6.906 GB, free: 57.95 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.0104/20.38, allocations: 2.519 MB / 6.908 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/20.38, allocations: 13.92 kB / 6.908 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/20.38, allocations: 262 kB / 6.908 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009492/20.39, allocations: 2.763 MB / 6.911 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/20.39, allocations: 132.8 kB / 6.911 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/20.39, allocations: 106.1 kB / 6.911 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005383/20.4, allocations: 2.252 MB / 6.913 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/20.4, allocations: 1.811 MB / 6.915 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/20.4, allocations: 0 / 6.915 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/20.4, allocations: 1.781 kB / 6.915 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/20.4, allocations: 53.09 kB / 6.915 GB, free: 56.13 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.01382/20.42, allocations: 6.742 MB / 6.922 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006912/20.42, allocations: 2.637 MB / 6.924 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/20.43, allocations: 0.9346 MB / 6.925 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/20.43, allocations: 1.42 MB / 6.927 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/20.43, allocations: 47.92 kB / 6.927 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 3.567e-06/20.43, allocations: 0 / 6.927 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88): time 0.01933/20.45, allocations: 5.983 MB / 6.933 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/20.45, allocations: 70.42 kB / 6.933 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/20.45, allocations: 1.316 MB / 6.934 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/20.45, allocations: 46.89 kB / 6.934 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/20.45, allocations: 0.8059 MB / 6.935 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/20.45, allocations: 286.9 kB / 6.935 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/20.45, allocations: 20.5 kB / 6.935 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000228/20.45, allocations: 372.7 kB / 6.935 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/20.46, allocations: 2.121 MB / 6.937 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003463/20.46, allocations: 2.321 MB / 6.94 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005868/20.47, allocations: 2.534 MB / 6.942 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/20.47, allocations: 3.938 kB / 6.942 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01228/20.48, allocations: 5.984 MB / 6.948 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006985/20.48, allocations: 1.403 MB / 6.949 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/20.48, allocations: 3.812 kB / 6.949 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/20.48, allocations: 2.274 MB / 6.952 GB, free: 47.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/20.49, allocations: 239.3 kB / 6.952 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/20.49, allocations: 4.214 MB / 6.956 GB, free: 45.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/20.49, allocations: 214.7 kB / 6.956 GB, free: 45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/20.49, allocations: 264.4 kB / 6.956 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/20.49, allocations: 5.531 kB / 6.956 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/20.51, allocations: 6.37 MB / 6.963 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/20.51, allocations: 6.812 kB / 6.963 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/20.51, allocations: 2.852 MB / 6.965 GB, free: 42.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/20.52, allocations: 209.4 kB / 6.966 GB, free: 42.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/20.53, allocations: 8.712 MB / 6.974 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/20.54, allocations: 210.5 kB / 6.974 GB, free: 37.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008722/20.54, allocations: 244.7 kB / 6.975 GB, free: 37.84 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 (109): * Single equations (assignments): 102 * 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.001055/20.54, allocations: 272.1 kB / 6.975 GB, free: 37.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/20.54, allocations: 161.8 kB / 6.975 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/20.55, allocations: 2.219 MB / 6.977 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/20.55, allocations: 9.062 kB / 6.977 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/20.55, allocations: 3.906 kB / 6.977 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/20.55, allocations: 7.891 kB / 6.977 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/20.55, allocations: 3.614 MB / 6.981 GB, free: 34.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/20.55, allocations: 2.406 kB / 6.981 GB, free: 34.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/20.56, allocations: 203.4 kB / 6.981 GB, free: 34.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/20.56, allocations: 0.736 MB / 6.982 GB, free: 34.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/20.56, allocations: 23.31 kB / 6.982 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/20.56, allocations: 2.552 MB / 6.984 GB, free: 31.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/20.56, allocations: 0 / 6.984 GB, free: 31.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006137/20.57, allocations: 2.751 MB / 6.987 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/20.57, allocations: 421 kB / 6.987 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/20.57, allocations: 0 / 6.987 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009484/20.57, allocations: 76.25 kB / 6.987 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/20.57, allocations: 72.16 kB / 6.987 GB, free: 28.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/20.57, allocations: 63.11 kB / 6.987 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001462/20.57, allocations: 0.9495 MB / 6.988 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/20.57, allocations: 0 / 6.988 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006893/20.58, allocations: 1.632 MB / 6.99 GB, free: 26.2 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 (90): * Single equations (assignments): 86 * 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.005689/20.58, allocations: 2.553 MB / 6.992 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02015/20.6, allocations: 24.59 MB / 7.016 GB, free: 480 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/20.6, allocations: 0 / 7.016 GB, free: 480 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.4873/21.09, allocations: 0.6493 MB / 7.017 GB, free: 64.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/21.1, allocations: 0.7079 MB / 7.018 GB, free: 64.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/21.1, allocations: 2.61 MB / 7.02 GB, free: 63.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/21.1, allocations: 1.512 MB / 7.022 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002694/21.1, allocations: 0.489 MB / 7.022 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/21.11, allocations: 104.9 kB / 7.022 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of SimCode: time 2.424e-06/21.11, allocations: 0 / 7.022 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of Templates: time 0.1401/21.25, allocations: 70.01 MB / 7.091 GB, free: 58.57 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_y.pipe 2>&1)