Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",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.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.001021/0.001021, allocations: 180.9 kB / 321.3 MB, free: 14.65 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.62/1.62, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009792/0.0009791, allocations: 86.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.629e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2069, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/1.717, allocations: 457.9 MB / 1.339 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.718, allocations: 92.36 kB / 1.339 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 40.91/42.63, allocations: 9.98 GB / 11.32 GB, free: 81.24 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.635e-06/42.63, allocations: 0 / 11.32 GB, free: 81.24 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003083/42.63, allocations: 350.9 kB / 11.32 GB, free: 81.17 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04921/42.68, allocations: 11.14 MB / 11.33 GB, free: 76.1 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/42.68, allocations: 11.25 kB / 11.33 GB, free: 76.1 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005051/42.69, allocations: 0.7836 MB / 11.33 GB, free: 76.03 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/42.7, allocations: 2.219 MB / 11.33 GB, free: 75.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06675/42.77, allocations: 18.59 MB / 11.35 GB, free: 72.85 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/42.77, allocations: 0.532 MB / 11.35 GB, free: 72.84 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004765/42.78, allocations: 0.7182 MB / 11.35 GB, free: 72.83 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03437/42.81, allocations: 13.03 MB / 11.37 GB, free: 72.19 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003459/42.81, allocations: 7.594 kB / 11.37 GB, free: 72.19 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/42.82, allocations: 251.1 kB / 11.37 GB, free: 72.19 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/42.82, allocations: 147.5 kB / 11.37 GB, free: 72.19 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02929/42.85, allocations: 17.48 MB / 11.38 GB, free: 72.1 MB / 1.135 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.1173/42.96, allocations: 69.91 MB / 11.45 GB, free: 27.43 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/42.98, allocations: 9.382 MB / 11.46 GB, free: 18.97 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01085/42.99, allocations: 8.412 MB / 11.47 GB, free: 11.38 MB / 1.135 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.06582/43.05, allocations: 29.4 MB / 11.5 GB, free: 3.359 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.041/44.09, allocations: 8.39 MB / 11.51 GB, free: 111.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07438/44.17, allocations: 15.22 MB / 11.52 GB, free: 111.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 6.719e-05/44.17, allocations: 0 / 11.52 GB, free: 111.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.2674/44.44, allocations: 74.67 MB / 11.59 GB, free: 105.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/44.44, allocations: 113.2 kB / 11.59 GB, free: 105.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03466/44.47, allocations: 11.84 MB / 11.61 GB, free: 104.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004601/44.48, allocations: 189.2 kB / 11.61 GB, free: 104.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01099/44.49, allocations: 6.016 MB / 11.61 GB, free: 103.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.006961/44.49, allocations: 1.957 MB / 11.61 GB, free: 102.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005521/44.5, allocations: 142.1 kB / 11.61 GB, free: 102.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001236/44.5, allocations: 0.6028 MB / 11.61 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01568/44.52, allocations: 7.738 MB / 11.62 GB, free: 102.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01871/44.53, allocations: 10.32 MB / 11.63 GB, free: 99.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/44.55, allocations: 8.668 MB / 11.64 GB, free: 99.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/44.55, allocations: 12.75 kB / 11.64 GB, free: 99.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0656/44.62, allocations: 26.03 MB / 11.67 GB, free: 98.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.005486/44.62, allocations: 29.65 MB / 11.69 GB, free: 67.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/44.62, allocations: 49.88 kB / 11.69 GB, free: 67.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7197/45.34, allocations: 170.4 MB / 11.86 GB, free: 40.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/45.35, allocations: 1.698 MB / 11.86 GB, free: 38.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05155/45.41, allocations: 26.57 MB / 11.89 GB, free: 17.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02095/45.43, allocations: 1.202 MB / 11.89 GB, free: 16.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004801/45.43, allocations: 0.8002 MB / 11.89 GB, free: 15.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/45.43, allocations: 7.078 kB / 11.89 GB, free: 15.55 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05867/45.49, allocations: 25.08 MB / 11.91 GB, free: 15.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/45.49, allocations: 44 kB / 11.91 GB, free: 15.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78/47.27, allocations: 170.6 MB / 12.08 GB, free: 134 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009348/47.28, allocations: 1.683 MB / 12.08 GB, free: 134 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05943/47.34, allocations: 30.92 MB / 12.11 GB, free: 130.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0208/47.36, allocations: 1.175 MB / 12.11 GB, free: 130.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004722/47.36, allocations: 0.7579 MB / 12.12 GB, free: 130.2 MB / 1.182 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.006596/47.37, allocations: 0.5257 MB / 12.12 GB, free: 130.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006317/47.38, allocations: 1.204 MB / 12.12 GB, free: 130.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05857/47.44, allocations: 23.23 MB / 12.14 GB, free: 129.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001478/47.44, allocations: 73.33 kB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/47.44, allocations: 3.156 kB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03624/47.47, allocations: 17.71 MB / 12.16 GB, free: 128.7 MB / 1.182 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.169/47.64, allocations: 53.93 MB / 12.21 GB, free: 122.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001807/47.64, allocations: 5.906 kB / 12.21 GB, free: 122.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009085/47.65, allocations: 1.189 MB / 12.21 GB, free: 122.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3429/47.99, allocations: 48.87 MB / 12.26 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002822/48, allocations: 199.6 kB / 12.26 GB, free: 100.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03779/48.03, allocations: 14.71 MB / 12.27 GB, free: 89.67 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/48.03, allocations: 10.16 kB / 12.27 GB, free: 89.66 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1041/48.14, allocations: 32.62 MB / 12.3 GB, free: 71.91 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01558/48.15, allocations: 2.917 MB / 12.31 GB, free: 70.16 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007324/48.16, allocations: 127.5 kB / 12.31 GB, free: 70.13 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02415/48.19, allocations: 0.9386 MB / 12.31 GB, free: 69.57 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003228/48.19, allocations: 467.5 kB / 12.31 GB, free: 69.34 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001651/48.19, allocations: 283.5 kB / 12.31 GB, free: 69.15 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02844/48.22, allocations: 9.031 MB / 12.32 GB, free: 63.45 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.92e-07/48.22, allocations: 0 / 12.32 GB, free: 63.45 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0698/48.29, allocations: 6.514 MB / 12.32 GB, free: 57.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1137/48.4, allocations: 37.88 MB / 12.36 GB, free: 31.45 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 1.172/49.58, allocations: 33.34 MB / 12.39 GB, free: 131.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/49.58, allocations: 1.906 kB / 12.39 GB, free: 131.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02554/49.6, allocations: 9.149 MB / 12.4 GB, free: 131.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04217/49.64, allocations: 6.28 MB / 12.41 GB, free: 131.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06647/49.71, allocations: 24.46 MB / 12.43 GB, free: 126.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/49.72, allocations: 7.175 MB / 12.44 GB, free: 125.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03859/49.76, allocations: 6.349 MB / 12.45 GB, free: 125.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01392/49.77, allocations: 5.844 MB / 12.45 GB, free: 125.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.863e-06/49.77, allocations: 3.406 kB / 12.45 GB, free: 125.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.82/51.59, allocations: 0.5418 GB / 12.99 GB, free: 170.9 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/51.59, allocations: 235.4 kB / 12.99 GB, free: 170.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.93/79.52, allocations: 4 kB / 12.99 GB, free: 170.6 MB / 1.229 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)