Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp") translateModel(Buildings.Fluid.Movers.Examples.FlowMachine_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6252/0.6252, allocations: 94.69 MB / 107.2 MB, free: 5.199 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.001199/0.001199, allocations: 177.3 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.719/1.719, allocations: 170.5 MB / 324.5 MB, free: 3.996 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.001672/0.001672, allocations: 107.5 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.867e-05, allocations: 7.984 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4451, allocations: 61.51 MB / 0.5054 GB, free: 49.47 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.5/14.95, allocations: 5.32 GB / 5.826 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/14.95, allocations: 85.53 kB / 5.826 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.627/19.58, allocations: 1.069 GB / 6.895 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/19.58, allocations: 0 / 6.895 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001439/19.58, allocations: 47.98 kB / 6.895 GB, free: 6.98 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.005318/19.58, allocations: 1.966 MB / 6.897 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/19.58, allocations: 12.03 kB / 6.897 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/19.58, allocations: 205.1 kB / 6.897 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/19.59, allocations: 1.779 MB / 6.899 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/19.59, allocations: 86.25 kB / 6.899 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/19.59, allocations: 116 kB / 6.899 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/19.59, allocations: 1.349 MB / 6.9 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/19.59, allocations: 0 / 6.9 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/19.59, allocations: 55.94 kB / 6.901 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/19.59, allocations: 50.25 kB / 6.901 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5106/20.1, allocations: 1.249 MB / 6.902 GB, free: 70.82 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.01058/20.11, allocations: 5.224 MB / 6.907 GB, free: 69.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/20.11, allocations: 0.8275 MB / 6.908 GB, free: 69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/20.11, allocations: 434.9 kB / 6.908 GB, free: 68.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/20.11, allocations: 1.417 MB / 6.909 GB, free: 67.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/20.11, allocations: 45.91 kB / 6.91 GB, free: 67.35 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 5.55e-06/20.11, allocations: 1.531 kB / 6.91 GB, free: 67.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=84): time 0.008242/20.12, allocations: 2.739 MB / 6.912 GB, free: 66.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/20.12, allocations: 59.16 kB / 6.912 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/20.12, allocations: 1.244 MB / 6.913 GB, free: 66.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/20.12, allocations: 48.42 kB / 6.914 GB, free: 66.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005541/20.13, allocations: 0.6961 MB / 6.914 GB, free: 66.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/20.13, allocations: 295.7 kB / 6.914 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/20.13, allocations: 20.22 kB / 6.914 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001068/20.13, allocations: 342.8 kB / 6.915 GB, free: 65.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/20.13, allocations: 384.7 kB / 6.915 GB, free: 65.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/20.13, allocations: 0.5627 MB / 6.916 GB, free: 65.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/20.13, allocations: 0.5199 MB / 6.916 GB, free: 65.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/20.13, allocations: 3.703 kB / 6.916 GB, free: 65.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002458/20.13, allocations: 1.26 MB / 6.917 GB, free: 65.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003125/20.13, allocations: 1.048 MB / 6.919 GB, free: 64.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/20.13, allocations: 1.219 kB / 6.919 GB, free: 64.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/20.13, allocations: 78.78 kB / 6.919 GB, free: 64.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/20.13, allocations: 273.2 kB / 6.919 GB, free: 64.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/20.13, allocations: 1.745 MB / 6.921 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/20.14, allocations: 117.1 kB / 6.921 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/20.14, allocations: 50.61 kB / 6.921 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/20.14, allocations: 4.312 kB / 6.921 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/20.14, allocations: 1.198 MB / 6.922 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/20.14, allocations: 3.562 kB / 6.922 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/20.14, allocations: 46.19 kB / 6.922 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/20.14, allocations: 223.1 kB / 6.922 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/20.14, allocations: 1.471 MB / 6.924 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/20.14, allocations: 115.5 kB / 6.924 GB, free: 61.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/20.14, allocations: 41.39 kB / 6.924 GB, free: 61.1 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 (112): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005345/20.14, allocations: 268.2 kB / 6.924 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/20.14, allocations: 146.4 kB / 6.924 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/20.15, allocations: 1.347 MB / 6.925 GB, free: 60.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/20.15, allocations: 7.5 kB / 6.925 GB, free: 60.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/20.15, allocations: 5.625 kB / 6.925 GB, free: 60.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/20.15, allocations: 6.234 kB / 6.925 GB, free: 60.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/20.15, allocations: 2.857 MB / 6.928 GB, free: 60.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/20.15, allocations: 3.75 kB / 6.928 GB, free: 60.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/20.15, allocations: 263.3 kB / 6.928 GB, free: 60.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-05/20.15, allocations: 27.08 kB / 6.929 GB, free: 60.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/20.15, allocations: 28.81 kB / 6.929 GB, free: 60.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/20.15, allocations: 3.135 MB / 6.932 GB, free: 57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/20.15, allocations: 1.922 kB / 6.932 GB, free: 57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/20.15, allocations: 1.781 MB / 6.933 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/20.16, allocations: 362.7 kB / 6.934 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/20.16, allocations: 19.08 kB / 6.934 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/20.16, allocations: 93.12 kB / 6.934 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/20.16, allocations: 64.45 kB / 6.934 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/20.16, allocations: 37.64 kB / 6.934 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001465/20.16, allocations: 0.9638 MB / 6.935 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/20.16, allocations: 0 / 6.935 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004425/20.16, allocations: 1.151 MB / 6.936 GB, free: 56.35 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004126/20.17, allocations: 1.919 MB / 6.938 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003818/20.17, allocations: 2.027 MB / 6.94 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/20.17, allocations: 5.969 kB / 6.94 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/20.17, allocations: 0.6919 MB / 6.941 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/20.18, allocations: 0.8368 MB / 6.941 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/20.18, allocations: 2.269 MB / 6.944 GB, free: 55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/20.18, allocations: 1.363 MB / 6.945 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003037/20.19, allocations: 0.5542 MB / 6.945 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/20.19, allocations: 109.4 kB / 6.946 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of SimCode: time 2.214e-06/20.19, allocations: 1.656 kB / 6.946 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.1121/20.3, allocations: 62.55 MB / 7.007 GB, free: 51.86 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.FlowMachine_dp.pipe 2>&1)