Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 289.7 MB / 302.3 MB, free: 2.148 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.001118/0.001118, allocations: 186.8 kB / 371.6 MB, free: 3.379 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.564/1.564, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008606/0.0008606, allocations: 89.03 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.636e-05/4.648e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.945/2.24, allocations: 466.5 MB / 1.435 GB, free: 293.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/2.24, allocations: 98.45 kB / 1.436 GB, free: 293.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 45.62/47.86, allocations: 10.27 GB / 11.7 GB, free: 86.66 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.843e-06/47.86, allocations: 0 / 11.7 GB, free: 86.66 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003325/47.86, allocations: 342.1 kB / 11.7 GB, free: 86.61 MB / 1.214 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.048/47.91, allocations: 11.15 MB / 11.71 GB, free: 81.79 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/47.91, allocations: 8.25 kB / 11.71 GB, free: 81.79 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004857/47.92, allocations: 0.7824 MB / 11.72 GB, free: 81.71 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/47.93, allocations: 2.226 MB / 11.72 GB, free: 80.93 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06615/48, allocations: 18.62 MB / 11.74 GB, free: 78.82 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009657/48, allocations: 0.528 MB / 11.74 GB, free: 78.81 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004598/48, allocations: 0.709 MB / 11.74 GB, free: 78.81 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/48.04, allocations: 13.08 MB / 11.75 GB, free: 78.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005266/48.04, allocations: 6.656 kB / 11.75 GB, free: 78.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003672/48.04, allocations: 249.3 kB / 11.75 GB, free: 78.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/48.04, allocations: 149.3 kB / 11.75 GB, free: 78.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/48.08, allocations: 17.54 MB / 11.77 GB, free: 78.16 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 preOpt removeSimpleEquations (simulation): time 0.1824/48.26, allocations: 70.03 MB / 11.84 GB, free: 46.36 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/48.28, allocations: 9.459 MB / 11.84 GB, free: 46.18 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01392/48.3, allocations: 8.442 MB / 11.85 GB, free: 46.12 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 preOpt evalFunc (simulation): time 0.07829/48.37, allocations: 29.48 MB / 11.88 GB, free: 38.04 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01664/48.39, allocations: 8.109 MB / 11.89 GB, free: 37.92 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04804/48.44, allocations: 15.23 MB / 11.9 GB, free: 37.22 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 5.677e-05/48.44, allocations: 0 / 11.9 GB, free: 37.22 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.2594/48.7, allocations: 76.13 MB / 11.98 GB, free: 22.03 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/48.7, allocations: 110.4 kB / 11.98 GB, free: 21.96 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03105/48.73, allocations: 11.84 MB / 11.99 GB, free: 17.83 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004092/48.73, allocations: 181.6 kB / 11.99 GB, free: 17.69 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009406/48.74, allocations: 6.024 MB / 12 GB, free: 12.98 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005514/48.75, allocations: 1.955 MB / 12 GB, free: 11.45 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004098/48.75, allocations: 146.6 kB / 12 GB, free: 11.34 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0008105/48.75, allocations: 0.5919 MB / 12 GB, free: 10.91 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/48.77, allocations: 7.81 MB / 12.01 GB, free: 5.297 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02482/48.79, allocations: 10.93 MB / 12.02 GB, free: 12.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01854/48.81, allocations: 8.71 MB / 12.03 GB, free: 5.191 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-05/48.81, allocations: 12 kB / 12.03 GB, free: 5.18 MB / 1.229 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.07756/48.89, allocations: 26.76 MB / 12.05 GB, free: 1.438 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.17/50.06, allocations: 29.64 MB / 12.08 GB, free: 91.01 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/50.06, allocations: 47.58 kB / 12.08 GB, free: 91.01 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8626/50.92, allocations: 170.4 MB / 12.25 GB, free: 90.21 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/50.93, allocations: 1.763 MB / 12.25 GB, free: 90.19 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04918/50.98, allocations: 26.57 MB / 12.28 GB, free: 85.04 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02137/51, allocations: 1.282 MB / 12.28 GB, free: 84.98 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004609/51.01, allocations: 0.803 MB / 12.28 GB, free: 84.98 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/51.01, allocations: 4.953 kB / 12.28 GB, free: 84.98 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05898/51.07, allocations: 25.16 MB / 12.3 GB, free: 84.55 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000284/51.07, allocations: 43.12 kB / 12.3 GB, free: 84.55 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7202/51.79, allocations: 170.6 MB / 12.47 GB, free: 9.492 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009943/51.8, allocations: 1.755 MB / 12.47 GB, free: 7.852 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06227/51.86, allocations: 30.93 MB / 12.5 GB, free: 0.6641 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02202/51.88, allocations: 1.249 MB / 12.5 GB, free: 15.59 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004932/51.89, allocations: 0.759 MB / 12.5 GB, free: 14.89 MB / 1.292 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.006129/51.89, allocations: 0.5186 MB / 12.5 GB, free: 14.69 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00651/51.9, allocations: 1.201 MB / 12.5 GB, free: 14.14 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.263/53.16, allocations: 23.34 MB / 12.53 GB, free: 159.9 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001822/53.16, allocations: 73.11 kB / 12.53 GB, free: 159.9 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/53.16, allocations: 6.062 kB / 12.53 GB, free: 159.9 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04381/53.21, allocations: 17.8 MB / 12.54 GB, free: 159.4 MB / 1.292 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.1608/53.37, allocations: 54.12 MB / 12.6 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001446/53.37, allocations: 10.08 kB / 12.6 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008469/53.38, allocations: 1.254 MB / 12.6 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2223/53.6, allocations: 48.87 MB / 12.65 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002259/53.6, allocations: 196 kB / 12.65 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02665/53.63, allocations: 14.72 MB / 12.66 GB, free: 147.8 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/53.63, allocations: 10.12 kB / 12.66 GB, free: 147.8 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07254/53.7, allocations: 32.81 MB / 12.69 GB, free: 144.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01308/53.71, allocations: 2.932 MB / 12.7 GB, free: 144.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007082/53.72, allocations: 137.6 kB / 12.7 GB, free: 144 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01721/53.74, allocations: 0.9996 MB / 12.7 GB, free: 144 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002574/53.74, allocations: 462.4 kB / 12.7 GB, free: 144 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002095/53.74, allocations: 286 kB / 12.7 GB, free: 144 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02275/53.77, allocations: 9.031 MB / 12.71 GB, free: 143.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.513e-06/53.77, allocations: 0.75 kB / 12.71 GB, free: 143.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04727/53.81, allocations: 6.577 MB / 12.71 GB, free: 143.6 MB / 1.292 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.07849/53.89, allocations: 38.11 MB / 12.75 GB, free: 137.1 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.07599/53.97, allocations: 33.53 MB / 12.78 GB, free: 136.3 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/53.97, allocations: 4.25 kB / 12.78 GB, free: 136.3 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01984/53.99, allocations: 9.23 MB / 12.79 GB, free: 136.1 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.037/54.03, allocations: 6.28 MB / 12.8 GB, free: 136 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07511/54.1, allocations: 24.52 MB / 12.82 GB, free: 131.5 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/54.11, allocations: 7.182 MB / 12.83 GB, free: 130.5 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03345/54.15, allocations: 6.376 MB / 12.84 GB, free: 130.3 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/54.16, allocations: 5.841 MB / 12.84 GB, free: 130.3 MB / 1.292 GB Notification: Performance of SimCode: time 1.343e-06/54.16, allocations: 0 / 12.84 GB, free: 130.3 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.801/56.96, allocations: 0.5429 GB / 13.38 GB, free: 49.19 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/56.96, allocations: 223.8 kB / 13.38 GB, free: 48.96 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.23/87.19, allocations: 0 / 13.38 GB, free: 48.96 MB / 1.292 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)