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.5489/0.5489, allocations: 95.62 MB / 110.6 MB, free: 9.387 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.001063/0.001063, allocations: 170.5 kB / 134.2 MB, free: 2.27 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.565/1.565, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001725/0.001725, allocations: 117.9 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 15.98 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 61.53 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.65/13.79, allocations: 5.33 GB / 5.842 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/13.79, allocations: 90.52 kB / 5.842 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.32/18.11, allocations: 1.092 GB / 6.934 GB, free: 59.56 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.464e-06/18.11, allocations: 0 / 6.934 GB, free: 59.56 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003368/18.11, allocations: 50.27 kB / 6.934 GB, free: 59.55 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.01118/18.12, allocations: 2.852 MB / 6.936 GB, free: 58.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/18.12, allocations: 15.27 kB / 6.937 GB, free: 58.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/18.12, allocations: 257.3 kB / 6.937 GB, free: 58.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009488/18.13, allocations: 2.772 MB / 6.939 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000634/18.13, allocations: 195.8 kB / 6.94 GB, free: 57.63 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/18.13, allocations: 153.1 kB / 6.94 GB, free: 57.63 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/18.14, allocations: 2.034 MB / 6.942 GB, free: 57.49 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/18.14, allocations: 0 / 6.942 GB, free: 57.49 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005011/18.14, allocations: 48.53 kB / 6.942 GB, free: 57.49 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/18.14, allocations: 52.64 kB / 6.942 GB, free: 57.49 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/18.15, allocations: 1.659 MB / 6.943 GB, free: 57.46 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.01747/18.16, allocations: 7.017 MB / 6.95 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/18.17, allocations: 1.925 MB / 6.952 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/18.17, allocations: 1.42 MB / 6.954 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/18.17, allocations: 47.62 kB / 6.954 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 4.067e-06/18.17, allocations: 0 / 6.954 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88): time 0.0174/18.19, allocations: 4.822 MB / 6.958 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/18.19, allocations: 62.84 kB / 6.958 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/18.19, allocations: 1.598 MB / 6.96 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009402/18.19, allocations: 62.11 kB / 6.96 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/18.2, allocations: 0.7964 MB / 6.961 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/18.2, allocations: 313.7 kB / 6.961 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007089/18.2, allocations: 38.47 kB / 6.961 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002042/18.2, allocations: 368.8 kB / 6.962 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/18.2, allocations: 1.771 MB / 6.963 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/18.2, allocations: 1.992 MB / 6.965 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/18.21, allocations: 2.229 MB / 6.967 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/18.21, allocations: 4.156 kB / 6.967 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.009312/18.22, allocations: 4.823 MB / 6.972 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007746/18.22, allocations: 1.419 MB / 6.973 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/18.22, allocations: 2.812 kB / 6.973 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/18.22, allocations: 1.177 MB / 6.975 GB, free: 47.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/18.22, allocations: 242.1 kB / 6.975 GB, free: 47.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/18.22, allocations: 2.518 MB / 6.977 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/18.23, allocations: 236 kB / 6.978 GB, free: 45.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/18.23, allocations: 265.1 kB / 6.978 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/18.23, allocations: 3.75 kB / 6.978 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01529/18.24, allocations: 7.007 MB / 6.985 GB, free: 42.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/18.24, allocations: 3.062 kB / 6.985 GB, free: 42.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005921/18.25, allocations: 2.945 MB / 6.988 GB, free: 42.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/18.25, allocations: 214.1 kB / 6.988 GB, free: 42.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/18.27, allocations: 9.206 MB / 6.997 GB, free: 35.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/18.27, allocations: 226.3 kB / 6.997 GB, free: 34.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/18.27, allocations: 238.4 kB / 6.997 GB, free: 34.79 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: 8 (floMacSta.curve,floMacSta.haveMinimumDecrease,floMacSta.haveDPMax,floMacSta.haveVMax,floMacDyn.curve,floMacDyn.haveMinimumDecrease,floMacDyn.haveDPMax,floMacDyn.haveVMax) * Number of discrete states: 0 () * Number of clocked 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.002695/18.28, allocations: 0.6629 MB / 6.998 GB, free: 34.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/18.28, allocations: 173.7 kB / 6.998 GB, free: 34.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005439/18.28, allocations: 2.118 MB / 7 GB, free: 32.22 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/18.28, allocations: 15.52 kB / 7 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/18.28, allocations: 0 / 7 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/18.28, allocations: 3.75 kB / 7 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/18.29, allocations: 3.793 MB / 7.004 GB, free: 29.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/18.29, allocations: 3.953 kB / 7.004 GB, free: 29.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/18.29, allocations: 207.8 kB / 7.004 GB, free: 28.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/18.3, allocations: 0.9587 MB / 7.005 GB, free: 28.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/18.3, allocations: 35.78 kB / 7.005 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/18.3, allocations: 2.385 MB / 7.007 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/18.3, allocations: 3.562 kB / 7.007 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/18.3, allocations: 2.812 MB / 7.01 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/18.3, allocations: 441.5 kB / 7.01 GB, free: 22.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006829/18.31, allocations: 26.17 kB / 7.01 GB, free: 22.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/18.31, allocations: 89.62 kB / 7.011 GB, free: 22.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/18.31, allocations: 70.92 kB / 7.011 GB, free: 22.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/18.31, allocations: 59.53 kB / 7.011 GB, free: 22.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002532/18.31, allocations: 1.197 MB / 7.012 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/18.31, allocations: 0 / 7.012 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008182/18.32, allocations: 1.729 MB / 7.014 GB, free: 20.02 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 (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.006386/18.32, allocations: 2.267 MB / 7.016 GB, free: 18.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02893/18.35, allocations: 24.59 MB / 7.04 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/18.35, allocations: 7.938 kB / 7.04 GB, free: 11.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/18.36, allocations: 0.7089 MB / 7.04 GB, free: 11.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/18.36, allocations: 0.8631 MB / 7.041 GB, free: 10.47 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/18.37, allocations: 4.055 MB / 7.045 GB, free: 6.441 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/18.37, allocations: 1.507 MB / 7.047 GB, free: 4.898 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002604/18.38, allocations: 414.3 kB / 7.047 GB, free: 4.512 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/18.38, allocations: 131.4 kB / 7.047 GB, free: 4.383 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/18.38, allocations: 0 / 7.047 GB, free: 4.383 MB / 0.573 GB Notification: Performance of Templates: time 0.5318/18.91, allocations: 88.11 MB / 7.133 GB, free: 73.61 MB / 0.573 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)