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.652/1.652, allocations: 285.4 MB / 298 MB, free: 5.984 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.00133/0.00133, allocations: 172.9 kB / 366.4 MB, free: 2.082 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.586/1.586, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008994/0.0008994, allocations: 95.92 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.241e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.667/0.667, allocations: 115.3 MB / 0.971 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.738, allocations: 464.9 MB / 1.425 GB, free: 91.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.738, allocations: 93.8 kB / 1.425 GB, free: 91.28 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 42.69/44.43, allocations: 10.33 GB / 11.75 GB, free: 64.17 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.725e-06/44.43, allocations: 0 / 11.75 GB, free: 64.17 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003076/44.44, allocations: 387 kB / 11.75 GB, free: 64.09 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.04697/44.48, allocations: 12.11 MB / 11.77 GB, free: 58.57 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/44.48, allocations: 13.69 kB / 11.77 GB, free: 58.57 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003691/44.49, allocations: 0.9118 MB / 11.77 GB, free: 58.5 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/44.5, allocations: 2.182 MB / 11.77 GB, free: 57.61 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0577/44.56, allocations: 20.07 MB / 11.79 GB, free: 55.07 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008357/44.56, allocations: 0.5963 MB / 11.79 GB, free: 55.05 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004083/44.56, allocations: 0.8188 MB / 11.79 GB, free: 55.05 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/44.59, allocations: 13.99 MB / 11.8 GB, free: 54.21 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000301/44.59, allocations: 15.62 kB / 11.8 GB, free: 54.2 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/44.6, allocations: 286 kB / 11.8 GB, free: 54.2 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/44.6, allocations: 193.4 kB / 11.8 GB, free: 54.2 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/44.62, allocations: 18.05 MB / 11.82 GB, free: 47.9 MB / 1.229 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 1.161/45.79, allocations: 74.3 MB / 11.89 GB, free: 90.41 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/45.8, allocations: 9.522 MB / 11.9 GB, free: 90.32 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01178/45.81, allocations: 8.484 MB / 11.91 GB, free: 90.29 MB / 1.245 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 evalFunc (simulation): time 0.06522/45.88, allocations: 30.28 MB / 11.94 GB, free: 82.14 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0181/45.9, allocations: 8.105 MB / 11.95 GB, free: 82.02 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05207/45.95, allocations: 14.98 MB / 11.96 GB, free: 82.02 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 5.079e-05/45.95, allocations: 3 kB / 11.96 GB, free: 82.02 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.2347/46.18, allocations: 73.41 MB / 12.04 GB, free: 75.29 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/46.18, allocations: 114.8 kB / 12.04 GB, free: 75.21 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0287/46.21, allocations: 12.6 MB / 12.05 GB, free: 74.48 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.003561/46.22, allocations: 192 kB / 12.05 GB, free: 74.45 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.00925/46.22, allocations: 6.663 MB / 12.05 GB, free: 73.32 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.00519/46.23, allocations: 2.078 MB / 12.06 GB, free: 72.27 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/46.23, allocations: 157.7 kB / 12.06 GB, free: 72.27 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0005078/46.23, allocations: 0.6136 MB / 12.06 GB, free: 71.95 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0133/46.25, allocations: 7.814 MB / 12.06 GB, free: 71.93 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01665/46.26, allocations: 10.6 MB / 12.08 GB, free: 68.8 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/46.28, allocations: 8.793 MB / 12.08 GB, free: 68.62 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.152e-05/46.28, allocations: 17.12 kB / 12.08 GB, free: 68.62 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.05747/46.34, allocations: 25.96 MB / 12.11 GB, free: 67.56 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.007586/46.34, allocations: 34.79 MB / 12.14 GB, free: 31.51 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/46.34, allocations: 51.25 kB / 12.14 GB, free: 31.51 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6281/46.97, allocations: 146.4 MB / 12.29 GB, free: 23.65 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/46.98, allocations: 1.963 MB / 12.29 GB, free: 22.27 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04003/47.02, allocations: 24.61 MB / 12.31 GB, free: 7.406 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02094/47.04, allocations: 1.359 MB / 12.31 GB, free: 6.598 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004369/47.05, allocations: 0.8105 MB / 12.31 GB, free: 6.117 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/47.05, allocations: 4 kB / 12.31 GB, free: 6.113 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06564/47.11, allocations: 26.23 MB / 12.34 GB, free: 12.83 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003143/47.12, allocations: 52 kB / 12.34 GB, free: 12.78 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838/48.95, allocations: 146.8 MB / 12.48 GB, free: 102.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/48.96, allocations: 1.942 MB / 12.49 GB, free: 102.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06756/49.03, allocations: 28.87 MB / 12.51 GB, free: 98.48 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0226/49.05, allocations: 1.33 MB / 12.51 GB, free: 98.48 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005912/49.06, allocations: 0.771 MB / 12.52 GB, free: 98.48 MB / 1.26 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * 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,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008424/49.07, allocations: 0.5535 MB / 12.52 GB, free: 98.37 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008616/49.08, allocations: 1.291 MB / 12.52 GB, free: 98.37 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09121/49.17, allocations: 26.7 MB / 12.54 GB, free: 97.84 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001516/49.17, allocations: 75.48 kB / 12.54 GB, free: 97.84 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.114e-05/49.17, allocations: 0 / 12.54 GB, free: 97.84 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06425/49.23, allocations: 21.12 MB / 12.56 GB, free: 97.25 MB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.1969/49.43, allocations: 59.98 MB / 12.62 GB, free: 90.73 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.924e-05/49.43, allocations: 3.625 kB / 12.62 GB, free: 90.73 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007829/49.44, allocations: 1.362 MB / 12.62 GB, free: 90.71 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1796/49.62, allocations: 41.92 MB / 12.66 GB, free: 90.43 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002394/49.62, allocations: 205.3 kB / 12.66 GB, free: 90.43 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/49.64, allocations: 13.63 MB / 12.68 GB, free: 84.58 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/49.64, allocations: 10.25 kB / 12.68 GB, free: 84.57 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.106/49.75, allocations: 38.63 MB / 12.72 GB, free: 63.39 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01423/49.76, allocations: 3.088 MB / 12.72 GB, free: 61.57 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00878/49.77, allocations: 140.9 kB / 12.72 GB, free: 61.54 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01785/49.79, allocations: 1.055 MB / 12.72 GB, free: 60.9 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002858/49.79, allocations: 473.4 kB / 12.72 GB, free: 60.67 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002532/49.79, allocations: 305.5 kB / 12.72 GB, free: 60.47 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02514/49.82, allocations: 9.606 MB / 12.73 GB, free: 55.06 MB / 1.26 GB Notification: Performance of sort global known variables: time 9.42e-07/49.82, allocations: 2.906 kB / 12.73 GB, free: 55.06 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05675/49.88, allocations: 7.173 MB / 12.74 GB, free: 48.81 MB / 1.26 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * 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 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.114/49.99, allocations: 44.17 MB / 12.78 GB, free: 22.19 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.0765/50.07, allocations: 32.95 MB / 12.81 GB, free: 5.344 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/50.07, allocations: 8.062 kB / 12.81 GB, free: 5.336 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.02018/50.09, allocations: 8.917 MB / 12.82 GB, free: 276 kB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04226/50.13, allocations: 6.918 MB / 12.83 GB, free: 11.64 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.162/52.29, allocations: 26.37 MB / 12.85 GB, free: 108 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/52.3, allocations: 7.667 MB / 12.86 GB, free: 107 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03836/52.34, allocations: 6.769 MB / 12.87 GB, free: 106.9 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01443/52.36, allocations: 6.414 MB / 12.87 GB, free: 106.9 MB / 1.276 GB Notification: Performance of SimCode: time 1.733e-06/52.36, allocations: 0 / 12.87 GB, free: 106.9 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.896/54.25, allocations: 0.5644 GB / 13.44 GB, free: 161 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/54.25, allocations: 228.4 kB / 13.44 GB, free: 160.7 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.81/87.07, allocations: 0 / 13.44 GB, free: 160.7 MB / 1.339 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)