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.5695/0.5695, allocations: 94.7 MB / 107.3 MB, free: 5.176 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.001353/0.001354, allocations: 169 kB / 130.7 MB, free: 7.559 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.786/1.786, allocations: 170.5 MB / 324.5 MB, free: 4 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.001714/0.001714, allocations: 109.9 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.368e-05/6.37e-05, allocations: 7.984 kB / 456 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6085, allocations: 61.51 MB / 0.5054 GB, free: 49.35 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.41/16.02, allocations: 5.33 GB / 5.835 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/16.02, allocations: 86.3 kB / 5.835 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.708/20.73, allocations: 1.09 GB / 6.925 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.444e-06/20.73, allocations: 3.938 kB / 6.925 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002515/20.73, allocations: 48.7 kB / 6.925 GB, free: 48.75 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.009973/20.74, allocations: 2.514 MB / 6.928 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/20.74, allocations: 7 kB / 6.928 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/20.74, allocations: 268 kB / 6.928 GB, free: 47.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008797/20.75, allocations: 2.754 MB / 6.931 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/20.75, allocations: 193.6 kB / 6.931 GB, free: 45.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/20.75, allocations: 164.3 kB / 6.931 GB, free: 45.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/20.75, allocations: 1.981 MB / 6.933 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/20.75, allocations: 6.297 kB / 6.933 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/20.75, allocations: 46.94 kB / 6.933 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/20.75, allocations: 57.53 kB / 6.933 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/20.76, allocations: 1.594 MB / 6.935 GB, free: 44.57 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.01394/20.77, allocations: 7.017 MB / 6.942 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/20.78, allocations: 1.896 MB / 6.943 GB, free: 36.37 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/20.78, allocations: 0.5636 MB / 6.944 GB, free: 35.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/20.78, allocations: 1.426 MB / 6.945 GB, free: 34.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/20.78, allocations: 47.28 kB / 6.945 GB, free: 34.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 3.517e-06/20.78, allocations: 0 / 6.945 GB, free: 34.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88): time 0.01123/20.79, allocations: 3.658 MB / 6.949 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/20.79, allocations: 64.19 kB / 6.949 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/20.79, allocations: 1.585 MB / 6.951 GB, free: 28.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007984/20.79, allocations: 61.7 kB / 6.951 GB, free: 28.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/20.8, allocations: 0.7873 MB / 6.951 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/20.8, allocations: 311.6 kB / 6.952 GB, free: 27.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/20.8, allocations: 32 kB / 6.952 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001386/20.8, allocations: 369.9 kB / 6.952 GB, free: 27.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/20.8, allocations: 1.737 MB / 6.954 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/20.8, allocations: 1.948 MB / 6.956 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/20.8, allocations: 2.191 MB / 6.958 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/20.8, allocations: 4 kB / 6.958 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007131/20.81, allocations: 4.746 MB / 6.963 GB, free: 16.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006031/20.81, allocations: 1.419 MB / 6.964 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/20.81, allocations: 0 / 6.964 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/20.81, allocations: 1.124 MB / 6.965 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/20.81, allocations: 239.7 kB / 6.965 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/20.82, allocations: 2.53 MB / 6.968 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/20.82, allocations: 243.7 kB / 6.968 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009599/20.82, allocations: 259.9 kB / 6.968 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/20.82, allocations: 4 kB / 6.968 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01113/20.83, allocations: 6.9 MB / 6.975 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/20.83, allocations: 4 kB / 6.975 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005476/20.84, allocations: 2.909 MB / 6.978 GB, free: 452 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/20.84, allocations: 207.8 kB / 6.978 GB, free: 244 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5667/21.41, allocations: 8.861 MB / 6.987 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/21.41, allocations: 228.1 kB / 6.987 GB, free: 59.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009664/21.41, allocations: 243.3 kB / 6.987 GB, free: 59.72 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.001043/21.41, allocations: 307.1 kB / 6.987 GB, free: 59.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/21.41, allocations: 178.1 kB / 6.988 GB, free: 59.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/21.42, allocations: 2.061 MB / 6.99 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/21.42, allocations: 10.5 kB / 6.99 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/21.42, allocations: 0 / 6.99 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/21.42, allocations: 8.156 kB / 6.99 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007392/21.42, allocations: 3.592 MB / 6.993 GB, free: 59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/21.42, allocations: 2.188 kB / 6.993 GB, free: 59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/21.43, allocations: 209 kB / 6.993 GB, free: 59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/21.43, allocations: 0.9308 MB / 6.994 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/21.43, allocations: 34.58 kB / 6.994 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/21.43, allocations: 2.392 MB / 6.997 GB, free: 57.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/21.43, allocations: 3.062 kB / 6.997 GB, free: 57.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004619/21.43, allocations: 2.577 MB / 6.999 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/21.44, allocations: 439.9 kB / 7 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/21.44, allocations: 21.91 kB / 7 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/21.44, allocations: 89.12 kB / 7 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/21.44, allocations: 69.2 kB / 7 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/21.44, allocations: 58.5 kB / 7 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001945/21.44, allocations: 1.179 MB / 7.001 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/21.44, allocations: 2.625 kB / 7.001 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007452/21.45, allocations: 1.726 MB / 7.003 GB, free: 56.75 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.005657/21.45, allocations: 2.27 MB / 7.005 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02997/21.48, allocations: 24.18 MB / 7.028 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/21.48, allocations: 1.281 kB / 7.028 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/21.48, allocations: 0.6729 MB / 7.029 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/21.49, allocations: 0.8696 MB / 7.03 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009313/21.5, allocations: 2.716 MB / 7.033 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/21.5, allocations: 1.51 MB / 7.034 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003583/21.51, allocations: 0.5639 MB / 7.035 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/21.51, allocations: 106.7 kB / 7.035 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of SimCode: time 1.834e-06/21.51, allocations: 2.906 kB / 7.035 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.1933/21.7, allocations: 96.09 MB / 7.129 GB, free: 42.46 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)