Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001185/0.001185, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.902/1.902, allocations: 205.4 MB / 0.6305 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009239/0.0009234, allocations: 101.9 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006011/0.0006012, allocations: 11.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.793/2.04, allocations: 464.9 MB / 1.434 GB, free: 273.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/2.041, allocations: 102.6 kB / 1.434 GB, free: 273.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 43.99/46.03, allocations: 10.36 GB / 11.79 GB, free: 90.14 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.655e-06/46.03, allocations: 4.656 kB / 11.79 GB, free: 90.14 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003448/46.03, allocations: 384.9 kB / 11.79 GB, free: 90.06 MB / 1.229 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.07891/46.11, allocations: 18.72 MB / 11.81 GB, free: 83.21 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/46.11, allocations: 9.594 kB / 11.81 GB, free: 83.21 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005854/46.12, allocations: 0.9162 MB / 11.81 GB, free: 83.13 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/46.14, allocations: 2.184 MB / 11.81 GB, free: 82.27 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07685/46.21, allocations: 20.28 MB / 11.83 GB, free: 80.01 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/46.22, allocations: 0.6022 MB / 11.83 GB, free: 79.99 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005057/46.22, allocations: 0.8207 MB / 11.83 GB, free: 79.99 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03862/46.26, allocations: 14.23 MB / 11.85 GB, free: 79.2 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/46.26, allocations: 16.84 kB / 11.85 GB, free: 79.2 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003148/46.26, allocations: 289.4 kB / 11.85 GB, free: 79.2 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/46.26, allocations: 184.2 kB / 11.85 GB, free: 79.2 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03445/46.3, allocations: 18.48 MB / 11.87 GB, free: 79.12 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 removeSimpleEquations (simulation): time 0.1361/46.43, allocations: 74.23 MB / 11.94 GB, free: 45.11 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/46.45, allocations: 9.802 MB / 11.95 GB, free: 44.93 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.0613/46.51, allocations: 29.92 MB / 11.98 GB, free: 36.42 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02176/46.53, allocations: 8.278 MB / 11.99 GB, free: 36.29 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.06342/46.59, allocations: 14.73 MB / 12 GB, free: 35.44 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 4.333e-05/46.59, allocations: 2.156 kB / 12 GB, free: 35.44 MB / 1.229 GB Notification: Performance of matching and sorting (n=616): time 1.586/48.18, allocations: 107.2 MB / 12.11 GB, free: 109.7 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/48.18, allocations: 121 kB / 12.11 GB, free: 109.6 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03995/48.22, allocations: 12.75 MB / 12.12 GB, free: 109 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.004293/48.23, allocations: 189.3 kB / 12.12 GB, free: 109 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01252/48.24, allocations: 6.667 MB / 12.12 GB, free: 108.8 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006537/48.24, allocations: 2.083 MB / 12.13 GB, free: 108.8 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004027/48.25, allocations: 161.4 kB / 12.13 GB, free: 108.8 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0008407/48.25, allocations: 0.6199 MB / 12.13 GB, free: 108.5 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02309/48.27, allocations: 8.516 MB / 12.14 GB, free: 108.5 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02403/48.3, allocations: 11.3 MB / 12.15 GB, free: 105.4 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02128/48.32, allocations: 9.479 MB / 12.16 GB, free: 105.2 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/48.32, allocations: 14.12 kB / 12.16 GB, free: 105.2 MB / 1.245 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.07786/48.4, allocations: 27.43 MB / 12.18 GB, free: 104.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.009523/48.41, allocations: 34.79 MB / 12.22 GB, free: 68.19 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/48.41, allocations: 53.34 kB / 12.22 GB, free: 68.19 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6465/49.05, allocations: 146.8 MB / 12.36 GB, free: 67.2 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/49.06, allocations: 1.955 MB / 12.36 GB, free: 67.17 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04635/49.11, allocations: 24.82 MB / 12.39 GB, free: 61.91 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02271/49.13, allocations: 1.361 MB / 12.39 GB, free: 61.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004702/49.14, allocations: 0.8137 MB / 12.39 GB, free: 61.8 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/49.14, allocations: 3.375 kB / 12.39 GB, free: 61.8 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06666/49.2, allocations: 26.39 MB / 12.41 GB, free: 61.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000307/49.21, allocations: 53.5 kB / 12.41 GB, free: 61.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.61/49.82, allocations: 147.1 MB / 12.56 GB, free: 10.8 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/49.83, allocations: 1.94 MB / 12.56 GB, free: 9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21/51.04, allocations: 29.52 MB / 12.59 GB, free: 153.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02225/51.06, allocations: 1.324 MB / 12.59 GB, free: 153.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004915/51.07, allocations: 0.7745 MB / 12.59 GB, free: 153.8 MB / 1.292 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.02024/51.09, allocations: 3.355 MB / 12.59 GB, free: 153.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007633/51.09, allocations: 1.29 MB / 12.6 GB, free: 153.6 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2057/51.3, allocations: 47.16 MB / 12.64 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002086/51.3, allocations: 73.33 kB / 12.64 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/51.3, allocations: 6.594 kB / 12.64 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1704/51.47, allocations: 41.57 MB / 12.68 GB, free: 152.4 MB / 1.292 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.1287/51.6, allocations: 48.57 MB / 12.73 GB, free: 146.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-05/51.6, allocations: 6 kB / 12.73 GB, free: 146.1 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007793/51.61, allocations: 1.357 MB / 12.73 GB, free: 146.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1793/51.79, allocations: 42.02 MB / 12.77 GB, free: 146 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002288/51.79, allocations: 203.9 kB / 12.77 GB, free: 146 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/51.81, allocations: 13.76 MB / 12.79 GB, free: 140.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/51.81, allocations: 9.344 kB / 12.79 GB, free: 140.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1349/51.94, allocations: 45.02 MB / 12.83 GB, free: 137.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0141/51.96, allocations: 3.095 MB / 12.83 GB, free: 136.8 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006699/51.96, allocations: 134.6 kB / 12.83 GB, free: 136.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0172/51.98, allocations: 1.061 MB / 12.83 GB, free: 136.7 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002466/51.98, allocations: 476 kB / 12.83 GB, free: 136.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00126/51.98, allocations: 307.1 kB / 12.83 GB, free: 136.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02386/52.01, allocations: 9.74 MB / 12.84 GB, free: 136.4 MB / 1.292 GB Notification: Performance of sort global known variables: time 2.094e-06/52.01, allocations: 1.781 kB / 12.84 GB, free: 136.4 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05942/52.07, allocations: 7.195 MB / 12.85 GB, free: 136.4 MB / 1.292 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.1611/52.23, allocations: 50.73 MB / 12.9 GB, free: 119 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1026/52.33, allocations: 34.56 MB / 12.93 GB, free: 102 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/52.33, allocations: 4 kB / 12.93 GB, free: 102 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.0234/52.35, allocations: 9.561 MB / 12.94 GB, free: 97.35 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04082/52.4, allocations: 6.817 MB / 12.95 GB, free: 93.56 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.11/52.51, allocations: 81.25 MB / 13.03 GB, free: 14.24 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0176/52.52, allocations: 7.656 MB / 13.04 GB, free: 8.93 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02583/52.55, allocations: 4.074 MB / 13.04 GB, free: 5.977 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985/54.53, allocations: 6.764 MB / 13.05 GB, free: 134.6 MB / 1.292 GB Notification: Performance of SimCode: time 1.332e-06/54.53, allocations: 0.75 kB / 13.05 GB, free: 134.6 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.926/56.46, allocations: 0.5355 GB / 13.58 GB, free: 208 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/56.46, allocations: 261.3 kB / 13.58 GB, free: 207.6 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.64/87.1, allocations: 0 / 13.58 GB, free: 207.6 MB / 1.37 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)