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.579/1.579, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 169 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009731/0.0009732, allocations: 78.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.12e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.655, allocations: 457.2 MB / 1.338 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.655, allocations: 95.12 kB / 1.338 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 41.82/43.48, allocations: 10.04 GB / 11.38 GB, free: 93.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.325e-06/43.48, allocations: 0 / 11.38 GB, free: 93.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003519/43.48, allocations: 391.4 kB / 11.38 GB, free: 93.11 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.04935/43.53, allocations: 12.1 MB / 11.39 GB, free: 87.62 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/43.53, allocations: 10.09 kB / 11.39 GB, free: 87.62 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006155/43.54, allocations: 0.9093 MB / 11.39 GB, free: 87.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/43.55, allocations: 2.18 MB / 11.4 GB, free: 86.66 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06545/43.62, allocations: 20.06 MB / 11.42 GB, free: 84.12 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00127/43.62, allocations: 0.6006 MB / 11.42 GB, free: 84.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005166/43.62, allocations: 0.8125 MB / 11.42 GB, free: 84.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/43.66, allocations: 13.92 MB / 11.43 GB, free: 83.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006657/43.66, allocations: 9.719 kB / 11.43 GB, free: 83.26 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004448/43.67, allocations: 290.4 kB / 11.43 GB, free: 83.26 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002863/43.67, allocations: 191.1 kB / 11.43 GB, free: 83.26 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03436/43.7, allocations: 17.99 MB / 11.45 GB, free: 83.14 MB / 1.167 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 0.1338/43.84, allocations: 74.02 MB / 11.52 GB, free: 40.97 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/43.85, allocations: 9.484 MB / 11.53 GB, free: 36.36 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01197/43.86, allocations: 8.441 MB / 11.54 GB, free: 30.2 MB / 1.167 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.0628/43.92, allocations: 30.16 MB / 11.57 GB, free: 5.426 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01523/43.94, allocations: 8.157 MB / 11.58 GB, free: 15.57 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04657/43.99, allocations: 14.97 MB / 11.59 GB, free: 4.992 MB / 1.182 GB Notification: Performance of pre-optimization done (n=427): time 4.599e-05/43.99, allocations: 3.938 kB / 11.59 GB, free: 4.988 MB / 1.182 GB Notification: Performance of matching and sorting (n=613): time 1.483/45.47, allocations: 71.96 MB / 11.66 GB, free: 109.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/45.47, allocations: 116.9 kB / 11.66 GB, free: 109.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03652/45.51, allocations: 12.6 MB / 11.67 GB, free: 108.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.004577/45.51, allocations: 192.8 kB / 11.67 GB, free: 108.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01268/45.52, allocations: 6.66 MB / 11.68 GB, free: 107.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.005463/45.53, allocations: 2.075 MB / 11.68 GB, free: 106.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003558/45.53, allocations: 157.3 kB / 11.68 GB, free: 106.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0008009/45.53, allocations: 0.6209 MB / 11.68 GB, free: 105.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01462/45.55, allocations: 7.754 MB / 11.69 GB, free: 105.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01774/45.57, allocations: 10.53 MB / 11.7 GB, free: 102.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/45.58, allocations: 8.771 MB / 11.71 GB, free: 102.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002161/45.58, allocations: 14.53 kB / 11.71 GB, free: 102.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.06745/45.65, allocations: 25.86 MB / 11.73 GB, free: 101.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006726/45.66, allocations: 34.79 MB / 11.77 GB, free: 65.39 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000222/45.66, allocations: 49.44 kB / 11.77 GB, free: 65.39 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6247/46.28, allocations: 146.4 MB / 11.91 GB, free: 64.29 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/46.29, allocations: 1.878 MB / 11.91 GB, free: 64.28 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03971/46.33, allocations: 24.61 MB / 11.94 GB, free: 57.88 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02155/46.36, allocations: 1.288 MB / 11.94 GB, free: 57.12 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004461/46.36, allocations: 0.8126 MB / 11.94 GB, free: 56.64 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/46.36, allocations: 4 kB / 11.94 GB, free: 56.63 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0548/46.42, allocations: 24.84 MB / 11.96 GB, free: 44.81 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002836/46.42, allocations: 56.03 kB / 11.96 GB, free: 44.75 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684/48.1, allocations: 146.8 MB / 12.11 GB, free: 137.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009688/48.11, allocations: 1.872 MB / 12.11 GB, free: 137.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05117/48.16, allocations: 28.88 MB / 12.14 GB, free: 134.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02161/48.18, allocations: 1.25 MB / 12.14 GB, free: 134.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00493/48.19, allocations: 0.7731 MB / 12.14 GB, free: 134.2 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 () * 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.007689/48.2, allocations: 0.5624 MB / 12.14 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006496/48.2, allocations: 1.286 MB / 12.14 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07869/48.28, allocations: 26.59 MB / 12.17 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001784/48.28, allocations: 77.02 kB / 12.17 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/48.28, allocations: 1.203 kB / 12.17 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05916/48.34, allocations: 21.02 MB / 12.19 GB, free: 133 MB / 1.214 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.1865/48.53, allocations: 59.75 MB / 12.25 GB, free: 126.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.894e-05/48.53, allocations: 17.61 kB / 12.25 GB, free: 126.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006828/48.53, allocations: 1.283 MB / 12.25 GB, free: 126.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1804/48.71, allocations: 41.91 MB / 12.29 GB, free: 126.6 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002166/48.72, allocations: 204.1 kB / 12.29 GB, free: 126.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/48.74, allocations: 13.64 MB / 12.3 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/48.74, allocations: 15.53 kB / 12.3 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1025/48.84, allocations: 38.43 MB / 12.34 GB, free: 117.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01435/48.85, allocations: 3.073 MB / 12.34 GB, free: 116.9 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005979/48.86, allocations: 129.3 kB / 12.34 GB, free: 116.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0156/48.88, allocations: 0.9932 MB / 12.34 GB, free: 116.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002347/48.88, allocations: 468.6 kB / 12.34 GB, free: 116.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001173/48.88, allocations: 298.5 kB / 12.34 GB, free: 116.8 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02106/48.9, allocations: 9.603 MB / 12.35 GB, free: 113.6 MB / 1.214 GB Notification: Performance of sort global known variables: time 4.01e-07/48.9, allocations: 0 / 12.35 GB, free: 113.6 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05437/48.95, allocations: 7.131 MB / 12.36 GB, free: 107.4 MB / 1.214 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.1264/49.08, allocations: 43.97 MB / 12.4 GB, free: 81.16 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.07213/49.15, allocations: 32.75 MB / 12.43 GB, free: 61.46 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/49.15, allocations: 4 kB / 12.43 GB, free: 61.46 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01929/49.17, allocations: 8.876 MB / 12.44 GB, free: 53.34 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04179/49.21, allocations: 6.811 MB / 12.45 GB, free: 48.51 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0695/49.28, allocations: 26.3 MB / 12.48 GB, free: 25.59 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008955/49.29, allocations: 7.673 MB / 12.48 GB, free: 20.25 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03356/49.33, allocations: 6.749 MB / 12.49 GB, free: 15.74 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/49.34, allocations: 6.41 MB / 12.5 GB, free: 9.84 MB / 1.214 GB Notification: Performance of SimCode: time 1.283e-06/49.34, allocations: 0 / 12.5 GB, free: 9.84 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.967/53.31, allocations: 0.5634 GB / 13.06 GB, free: 186.8 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/53.31, allocations: 233 kB / 13.06 GB, free: 186.5 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.68/84.99, allocations: 0 / 13.06 GB, free: 186.5 MB / 1.292 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)