Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 189 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 89.11 kB / 0.7509 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2923, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.773/2.066, allocations: 465.1 MB / 1.443 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/2.066, allocations: 101.6 kB / 1.443 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 38.19/40.25, allocations: 8.722 GB / 10.16 GB, free: 82.59 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.647e-06/40.25, allocations: 0 / 10.16 GB, free: 82.59 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005453/40.26, allocations: 0.5179 MB / 10.17 GB, free: 82.43 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.09871/40.36, allocations: 21.43 MB / 10.19 GB, free: 74.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/40.36, allocations: 10.59 kB / 10.19 GB, free: 74.3 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007687/40.37, allocations: 1.085 MB / 10.19 GB, free: 74.21 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/40.38, allocations: 2.309 MB / 10.19 GB, free: 73.18 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08304/40.47, allocations: 23.53 MB / 10.21 GB, free: 70.23 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/40.47, allocations: 0.7151 MB / 10.21 GB, free: 70.21 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006524/40.48, allocations: 1.022 MB / 10.21 GB, free: 70.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04258/40.52, allocations: 16.87 MB / 10.23 GB, free: 68.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/40.52, allocations: 14.03 kB / 10.23 GB, free: 68.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002855/40.52, allocations: 357.5 kB / 10.23 GB, free: 68.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/40.52, allocations: 213.9 kB / 10.23 GB, free: 68.19 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03896/40.56, allocations: 19.85 MB / 10.25 GB, free: 63.73 MB / 1.214 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.1688/40.73, allocations: 79.55 MB / 10.33 GB, free: 9.988 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.305/42.03, allocations: 11.92 MB / 10.34 GB, free: 105.4 MB / 1.229 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 evalFunc (simulation): time 0.08186/42.12, allocations: 33.01 MB / 10.37 GB, free: 97.43 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01913/42.13, allocations: 9.305 MB / 10.38 GB, free: 97.25 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0497/42.18, allocations: 14.9 MB / 10.4 GB, free: 97.25 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 6.842e-05/42.18, allocations: 0.5625 kB / 10.4 GB, free: 97.25 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 0.8659/43.05, allocations: 200.5 MB / 10.59 GB, free: 87.29 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008396/43.05, allocations: 2.535 MB / 10.59 GB, free: 84.27 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04702/43.1, allocations: 14.9 MB / 10.61 GB, free: 83.46 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006517/43.11, allocations: 269.2 kB / 10.61 GB, free: 83.43 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01517/43.12, allocations: 7.899 MB / 10.62 GB, free: 82.06 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007856/43.13, allocations: 2.822 MB / 10.62 GB, free: 80.62 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005278/43.13, allocations: 206.9 kB / 10.62 GB, free: 80.62 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001317/43.14, allocations: 0.7476 MB / 10.62 GB, free: 80.3 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02368/43.16, allocations: 10.37 MB / 10.63 GB, free: 80.24 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03053/43.19, allocations: 14.06 MB / 10.64 GB, free: 76.2 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02925/43.22, allocations: 11.66 MB / 10.66 GB, free: 75.87 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001813/43.22, allocations: 18.94 kB / 10.66 GB, free: 75.87 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.5877/43.81, allocations: 130 MB / 10.78 GB, free: 13.39 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.351/45.16, allocations: 36.69 MB / 10.82 GB, free: 113.6 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009079/45.16, allocations: 115.9 kB / 10.82 GB, free: 113.6 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6275/45.79, allocations: 147.9 MB / 10.96 GB, free: 113.5 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01786/45.8, allocations: 2.693 MB / 10.97 GB, free: 113.5 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1629/45.97, allocations: 76.83 MB / 11.04 GB, free: 106.4 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02843/46, allocations: 1.552 MB / 11.04 GB, free: 106.4 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006661/46, allocations: 0.9153 MB / 11.04 GB, free: 106.4 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/46, allocations: 3.844 kB / 11.04 GB, free: 106.4 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5834/46.59, allocations: 128.7 MB / 11.17 GB, free: 69.16 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006866/46.59, allocations: 119.3 kB / 11.17 GB, free: 69.04 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916/48.5, allocations: 147.7 MB / 11.31 GB, free: 161.1 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01521/48.52, allocations: 2.665 MB / 11.32 GB, free: 161.1 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1882/48.71, allocations: 81.05 MB / 11.39 GB, free: 156.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02895/48.73, allocations: 1.52 MB / 11.4 GB, free: 156.6 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006588/48.74, allocations: 0.8746 MB / 11.4 GB, free: 156.6 MB / 1.307 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02134/48.76, allocations: 4.283 MB / 11.4 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009308/48.77, allocations: 1.555 MB / 11.4 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.213/48.99, allocations: 50.84 MB / 11.45 GB, free: 155.7 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002018/48.99, allocations: 91.53 kB / 11.45 GB, free: 155.7 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001775/48.99, allocations: 30.66 kB / 11.45 GB, free: 155.7 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1836/49.17, allocations: 44.8 MB / 11.5 GB, free: 155 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2408/49.41, allocations: 69.15 MB / 11.56 GB, free: 150.8 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001507/49.41, allocations: 3.844 kB / 11.56 GB, free: 150.8 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01114/49.42, allocations: 1.837 MB / 11.57 GB, free: 150.8 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1753/49.6, allocations: 42.78 MB / 11.61 GB, free: 141 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003269/49.6, allocations: 341.3 kB / 11.61 GB, free: 140.9 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06264/49.66, allocations: 31.85 MB / 11.64 GB, free: 121.5 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/49.66, allocations: 4.031 kB / 11.64 GB, free: 121.5 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2016/49.86, allocations: 59.08 MB / 11.7 GB, free: 90.03 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01809/49.88, allocations: 3.661 MB / 11.7 GB, free: 87.52 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00929/49.89, allocations: 271.1 kB / 11.7 GB, free: 87.28 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02122/49.91, allocations: 1.344 MB / 11.7 GB, free: 86.44 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004146/49.92, allocations: 0.5829 MB / 11.7 GB, free: 86.08 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002638/49.92, allocations: 363 kB / 11.7 GB, free: 85.79 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02862/49.95, allocations: 11.42 MB / 11.71 GB, free: 76.5 MB / 1.307 GB Notification: Performance of sort global known variables: time 8.91e-07/49.95, allocations: 3.969 kB / 11.71 GB, free: 76.5 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.0654/50.01, allocations: 8.808 MB / 11.72 GB, free: 67.98 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 1.456/51.47, allocations: 64.6 MB / 11.79 GB, free: 162.4 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.1166/51.59, allocations: 44.8 MB / 11.83 GB, free: 159.1 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 4.446e-05/51.59, allocations: 15.62 kB / 11.83 GB, free: 159.1 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.03473/51.62, allocations: 12.01 MB / 11.84 GB, free: 158.8 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04855/51.67, allocations: 7.765 MB / 11.85 GB, free: 158.7 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1535/51.82, allocations: 92.07 MB / 11.94 GB, free: 97.2 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02845/51.85, allocations: 9.417 MB / 11.95 GB, free: 96.06 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0414/51.89, allocations: 5.516 MB / 11.95 GB, free: 95.8 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02579/51.92, allocations: 8.186 MB / 11.96 GB, free: 95.79 MB / 1.307 GB Notification: Performance of SimCode: time 1.47e-05/51.92, allocations: 0 / 11.96 GB, free: 95.79 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.196/54.12, allocations: 0.6113 GB / 12.57 GB, free: 135.3 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/54.12, allocations: 252.4 kB / 12.57 GB, free: 135 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.45/91.57, allocations: 4 kB / 12.57 GB, free: 135 MB / 1.323 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)