Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 192.6 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009439/0.0009441, allocations: 85.5 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 11.48 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2029, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9353/1.138, allocations: 457.3 MB / 1.347 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.139, allocations: 102.5 kB / 1.347 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 41.8/42.94, allocations: 10.07 GB / 11.42 GB, free: 77.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.625e-06/42.94, allocations: 0 / 11.42 GB, free: 77.26 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.004204/42.95, allocations: 389.1 kB / 11.42 GB, free: 77.19 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.08307/43.03, allocations: 18.7 MB / 11.44 GB, free: 70.74 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/43.03, allocations: 11.06 kB / 11.44 GB, free: 70.74 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006191/43.04, allocations: 0.9197 MB / 11.44 GB, free: 70.66 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/43.05, allocations: 2.18 MB / 11.44 GB, free: 69.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07533/43.13, allocations: 20.26 MB / 11.46 GB, free: 67.54 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/43.13, allocations: 0.5998 MB / 11.46 GB, free: 67.52 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005434/43.13, allocations: 0.8124 MB / 11.46 GB, free: 67.52 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0438/43.18, allocations: 14.17 MB / 11.48 GB, free: 66.72 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005333/43.18, allocations: 12.22 kB / 11.48 GB, free: 66.72 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004774/43.18, allocations: 292.7 kB / 11.48 GB, free: 66.72 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/43.18, allocations: 187.3 kB / 11.48 GB, free: 66.72 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03697/43.22, allocations: 18.41 MB / 11.49 GB, free: 66.66 MB / 1.167 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.1445/43.37, allocations: 74.08 MB / 11.57 GB, free: 32.92 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/43.38, allocations: 9.742 MB / 11.58 GB, free: 32.75 MB / 1.167 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.07676/43.46, allocations: 29.81 MB / 11.6 GB, free: 24.29 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01671/43.48, allocations: 8.207 MB / 11.61 GB, free: 24.17 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04444/43.52, allocations: 14.74 MB / 11.63 GB, free: 23.88 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 5.307e-05/43.52, allocations: 0 / 11.63 GB, free: 23.88 MB / 1.167 GB Notification: Performance of matching and sorting (n=616): time 0.3753/43.9, allocations: 105.2 MB / 11.73 GB, free: 14.14 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/43.9, allocations: 120.3 kB / 11.73 GB, free: 14.07 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03438/43.93, allocations: 12.74 MB / 11.74 GB, free: 13.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005091/43.94, allocations: 193.8 kB / 11.74 GB, free: 13.31 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01331/43.95, allocations: 6.664 MB / 11.75 GB, free: 11.78 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006603/43.96, allocations: 2.076 MB / 11.75 GB, free: 10.44 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003259/43.96, allocations: 161.6 kB / 11.75 GB, free: 10.44 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006931/43.96, allocations: 0.6211 MB / 11.75 GB, free: 10.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01674/43.98, allocations: 8.305 MB / 11.76 GB, free: 10.07 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02015/44, allocations: 11.09 MB / 11.77 GB, free: 5.414 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01876/44.02, allocations: 9.301 MB / 11.78 GB, free: 1.453 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/44.02, allocations: 15.5 kB / 11.78 GB, free: 1.453 MB / 1.167 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.07774/44.09, allocations: 27.6 MB / 11.81 GB, free: 9.109 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01789/44.11, allocations: 34.78 MB / 11.84 GB, free: 4.387 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002798/44.11, allocations: 52 kB / 11.84 GB, free: 4.336 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825/45.94, allocations: 147.1 MB / 11.98 GB, free: 116.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/45.95, allocations: 1.869 MB / 11.99 GB, free: 116.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04671/46, allocations: 24.83 MB / 12.01 GB, free: 111.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02406/46.02, allocations: 1.28 MB / 12.01 GB, free: 111.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005914/46.03, allocations: 0.8159 MB / 12.01 GB, free: 111.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/46.03, allocations: 2.938 kB / 12.01 GB, free: 111.3 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06854/46.1, allocations: 25.99 MB / 12.04 GB, free: 110.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004808/46.1, allocations: 52.59 kB / 12.04 GB, free: 110.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6017/46.7, allocations: 147.1 MB / 12.18 GB, free: 67.08 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009443/46.71, allocations: 1.857 MB / 12.18 GB, free: 65.36 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.051/46.76, allocations: 29.53 MB / 12.21 GB, free: 43.32 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02131/46.78, allocations: 1.257 MB / 12.21 GB, free: 42.26 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004276/46.78, allocations: 0.7714 MB / 12.21 GB, free: 41.55 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (758): * Single equations (assignments): 744 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.0137/46.8, allocations: 3.349 MB / 12.22 GB, free: 39.54 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006341/46.8, allocations: 1.282 MB / 12.22 GB, free: 38.95 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1848/46.99, allocations: 46.75 MB / 12.26 GB, free: 1.211 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001669/46.99, allocations: 79.98 kB / 12.26 GB, free: 1.133 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/46.99, allocations: 1.188 kB / 12.26 GB, free: 1.133 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256/48.25, allocations: 41.17 MB / 12.3 GB, free: 133.3 MB / 1.245 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 postOpt removeSimpleEquations (simulation): time 0.1322/48.38, allocations: 48.08 MB / 12.35 GB, free: 127.1 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001074/48.38, allocations: 8.25 kB / 12.35 GB, free: 127.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007714/48.39, allocations: 1.279 MB / 12.35 GB, free: 127.1 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1823/48.57, allocations: 42.03 MB / 12.39 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002719/48.57, allocations: 204.9 kB / 12.39 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/48.59, allocations: 13.76 MB / 12.41 GB, free: 121.9 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/48.59, allocations: 11.66 kB / 12.41 GB, free: 121.9 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1349/48.73, allocations: 44.43 MB / 12.45 GB, free: 118.4 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01653/48.74, allocations: 3.064 MB / 12.45 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007847/48.75, allocations: 135.2 kB / 12.45 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01665/48.77, allocations: 0.9886 MB / 12.46 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00293/48.77, allocations: 475.9 kB / 12.46 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001725/48.77, allocations: 300.5 kB / 12.46 GB, free: 118.3 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02525/48.8, allocations: 9.744 MB / 12.47 GB, free: 117.9 MB / 1.245 GB Notification: Performance of sort global known variables: time 7.02e-07/48.8, allocations: 0 / 12.47 GB, free: 117.9 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.05314/48.85, allocations: 7.153 MB / 12.47 GB, free: 117.9 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (536): * Single equations (assignments): 514 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1447/48.99, allocations: 50.11 MB / 12.52 GB, free: 111.6 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.08117/49.08, allocations: 33.96 MB / 12.55 GB, free: 110.9 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/49.08, allocations: 6.516 kB / 12.55 GB, free: 110.9 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02137/49.1, allocations: 9.362 MB / 12.56 GB, free: 110.8 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04224/49.14, allocations: 6.803 MB / 12.57 GB, free: 110.7 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1033/49.24, allocations: 81.05 MB / 12.65 GB, free: 52.48 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/49.26, allocations: 7.644 MB / 12.66 GB, free: 51.38 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03173/49.29, allocations: 4.071 MB / 12.66 GB, free: 50.75 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01707/49.31, allocations: 6.681 MB / 12.67 GB, free: 50.73 MB / 1.245 GB Notification: Performance of SimCode: time 2.996e-06/49.31, allocations: 0 / 12.67 GB, free: 50.73 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.86/52.17, allocations: 0.5353 GB / 13.2 GB, free: 12.54 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/52.17, allocations: 265.7 kB / 13.2 GB, free: 12.18 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.52/81.69, allocations: 0 / 13.2 GB, free: 12.18 MB / 1.307 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)