Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic",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.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001432/0.001432, allocations: 185 kB / 377.1 MB, free: 1.52 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.787/1.787, allocations: 205.4 MB / 0.6366 GB, free: 9.523 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.0008916/0.0008918, allocations: 100.1 kB / 0.7509 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 12 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2966, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.804/2.101, allocations: 464.9 MB / 1.442 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004851/2.101, allocations: 96.34 kB / 1.443 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 28.72/30.82, allocations: 6.434 GB / 7.876 GB, free: 89.77 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.244e-06/30.82, allocations: 0 / 7.876 GB, free: 89.77 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00554/30.83, allocations: 0.5274 MB / 7.877 GB, free: 89.65 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.108/30.93, allocations: 21.45 MB / 7.898 GB, free: 82 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/30.93, allocations: 9.625 kB / 7.898 GB, free: 82 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009693/30.94, allocations: 1.091 MB / 7.899 GB, free: 81.92 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02297/30.97, allocations: 2.306 MB / 7.901 GB, free: 80.9 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09527/31.06, allocations: 23.61 MB / 7.924 GB, free: 78.33 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001726/31.06, allocations: 0.7195 MB / 7.925 GB, free: 78.31 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008607/31.07, allocations: 1.032 MB / 7.926 GB, free: 78.29 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05924/31.13, allocations: 17.01 MB / 7.942 GB, free: 76.43 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001272/31.13, allocations: 11.84 kB / 7.942 GB, free: 76.43 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007633/31.14, allocations: 363.3 kB / 7.943 GB, free: 76.43 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003543/31.14, allocations: 222.3 kB / 7.943 GB, free: 76.43 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04599/31.19, allocations: 19.94 MB / 7.963 GB, free: 76.37 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.1753/31.36, allocations: 78.55 MB / 8.039 GB, free: 44.33 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02614/31.39, allocations: 12.57 MB / 8.052 GB, free: 43.86 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 evalFunc (simulation): time 0.0946/31.48, allocations: 33.6 MB / 8.084 GB, free: 35.22 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02205/31.5, allocations: 9.524 MB / 8.094 GB, free: 35.05 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04905/31.55, allocations: 14.9 MB / 8.108 GB, free: 34.12 MB / 1.214 GB Notification: Performance of pre-optimization done (n=605): time 7.129e-05/31.55, allocations: 4 kB / 8.108 GB, free: 34.12 MB / 1.214 GB Notification: Performance of matching and sorting (n=859): time 2.149/33.7, allocations: 213 MB / 8.316 GB, free: 102.9 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007384/33.7, allocations: 2.536 MB / 8.319 GB, free: 99.94 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05006/33.75, allocations: 14.86 MB / 8.333 GB, free: 99.26 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.007612/33.76, allocations: 278.9 kB / 8.333 GB, free: 99.23 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01562/33.78, allocations: 7.884 MB / 8.341 GB, free: 98.78 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008363/33.79, allocations: 2.984 MB / 8.344 GB, free: 98.74 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004475/33.79, allocations: 209.3 kB / 8.344 GB, free: 98.74 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001209/33.79, allocations: 0.7559 MB / 8.345 GB, free: 98.42 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02444/33.82, allocations: 10.52 MB / 8.355 GB, free: 98.39 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03005/33.85, allocations: 14.25 MB / 8.369 GB, free: 94.48 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02824/33.87, allocations: 11.85 MB / 8.381 GB, free: 94.27 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001773/33.87, allocations: 17.47 kB / 8.381 GB, free: 94.27 MB / 1.229 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.6046/34.48, allocations: 131.4 MB / 8.509 GB, free: 90.74 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.008401/34.49, allocations: 32.96 MB / 8.541 GB, free: 56.36 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005841/34.49, allocations: 109.4 kB / 8.541 GB, free: 56.36 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6032/35.09, allocations: 152.5 MB / 8.69 GB, free: 9.996 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/35.11, allocations: 2.503 MB / 8.693 GB, free: 7.66 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527/36.63, allocations: 79.01 MB / 8.77 GB, free: 157.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03204/36.67, allocations: 1.507 MB / 8.771 GB, free: 157.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008462/36.67, allocations: 0.9133 MB / 8.772 GB, free: 157.5 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/36.67, allocations: 3.656 kB / 8.772 GB, free: 157.5 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6295/37.3, allocations: 129.9 MB / 8.899 GB, free: 156.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007313/37.3, allocations: 110.2 kB / 8.899 GB, free: 156.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.608/37.91, allocations: 152.7 MB / 9.048 GB, free: 146.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/37.93, allocations: 2.478 MB / 9.051 GB, free: 143.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1655/38.09, allocations: 86.43 MB / 9.135 GB, free: 81.26 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02877/38.12, allocations: 1.49 MB / 9.137 GB, free: 80.03 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005844/38.13, allocations: 0.8695 MB / 9.138 GB, free: 79.25 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (989): * Single equations (assignments): 909 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02237/38.15, allocations: 4.293 MB / 9.142 GB, free: 76.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01434/38.16, allocations: 1.56 MB / 9.143 GB, free: 75.88 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2163/38.38, allocations: 52.57 MB / 9.195 GB, free: 33.93 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002182/38.38, allocations: 102.9 kB / 9.195 GB, free: 33.83 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00022/38.38, allocations: 28.94 kB / 9.195 GB, free: 33.8 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588/39.97, allocations: 46.39 MB / 9.24 GB, free: 135.9 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2683/40.24, allocations: 71.61 MB / 9.31 GB, free: 131.7 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001466/40.24, allocations: 7.156 kB / 9.31 GB, free: 131.7 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01008/40.25, allocations: 1.688 MB / 9.312 GB, free: 131.7 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1866/40.43, allocations: 44.76 MB / 9.355 GB, free: 131.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004386/40.44, allocations: 349.8 kB / 9.356 GB, free: 131.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06858/40.51, allocations: 34.25 MB / 9.389 GB, free: 124.3 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/40.51, allocations: 0 / 9.389 GB, free: 124.3 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2164/40.72, allocations: 60.99 MB / 9.449 GB, free: 122.7 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02241/40.75, allocations: 3.747 MB / 9.452 GB, free: 122.5 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01029/40.76, allocations: 283.7 kB / 9.453 GB, free: 122.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0229/40.78, allocations: 1.305 MB / 9.454 GB, free: 122.5 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004656/40.78, allocations: 0.6043 MB / 9.454 GB, free: 122.4 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003494/40.79, allocations: 371.1 kB / 9.455 GB, free: 122.4 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03537/40.82, allocations: 11.4 MB / 9.466 GB, free: 122 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.002e-06/40.82, allocations: 0 / 9.466 GB, free: 122 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0738/40.9, allocations: 8.817 MB / 9.475 GB, free: 122 MB / 1.292 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 (668): * Single equations (assignments): 644 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.2366/41.13, allocations: 66.23 MB / 9.539 GB, free: 112.8 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1157/41.25, allocations: 45.43 MB / 9.584 GB, free: 88.26 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.244e-05/41.25, allocations: 10.31 kB / 9.584 GB, free: 88.24 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.03148/41.28, allocations: 12.29 MB / 9.596 GB, free: 81.89 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05176/41.33, allocations: 7.79 MB / 9.603 GB, free: 77.84 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.54/43.87, allocations: 88.69 MB / 9.69 GB, free: 133.6 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03111/43.9, allocations: 9.48 MB / 9.699 GB, free: 132.4 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03814/43.94, allocations: 5.136 MB / 9.704 GB, free: 132.3 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02588/43.97, allocations: 8.189 MB / 9.712 GB, free: 132.3 MB / 1.292 GB Notification: Performance of SimCode: time 1.713e-06/43.97, allocations: 0.75 kB / 9.712 GB, free: 132.3 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.429/46.4, allocations: 0.6323 GB / 10.34 GB, free: 162.1 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/46.4, allocations: 239.9 kB / 10.34 GB, free: 161.9 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.91/88.31, allocations: 0 / 10.34 GB, free: 161.9 MB / 1.339 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Basic.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)