Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.53/2.53, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.00162/0.001619, allocations: 186.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001559/0.001559, allocations: 89.08 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004947, allocations: 10.81 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.14/2.375, allocations: 466 MB / 1.433 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/2.376, allocations: 103.9 kB / 1.433 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 60.61/62.99, allocations: 10.53 GB / 11.97 GB, free: 88.79 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.727e-06/62.99, allocations: 0.5938 kB / 11.97 GB, free: 88.79 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003474/62.99, allocations: 352.8 kB / 11.97 GB, free: 88.73 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.09994/63.09, allocations: 17.45 MB / 11.98 GB, free: 82.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/63.09, allocations: 10.28 kB / 11.98 GB, free: 82.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006174/63.1, allocations: 0.7881 MB / 11.98 GB, free: 82.73 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/63.12, allocations: 2.072 MB / 11.99 GB, free: 81.94 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08348/63.2, allocations: 18.46 MB / 12 GB, free: 79.84 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/63.2, allocations: 0.5322 MB / 12.01 GB, free: 79.83 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004029/63.21, allocations: 0.7125 MB / 12.01 GB, free: 79.83 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03337/63.24, allocations: 8.498 MB / 12.01 GB, free: 78.77 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006047/63.24, allocations: 18.94 kB / 12.01 GB, free: 78.76 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003964/63.25, allocations: 253.2 kB / 12.01 GB, free: 78.76 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/63.25, allocations: 159.2 kB / 12.01 GB, free: 78.76 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0273/63.27, allocations: 6.954 MB / 12.02 GB, free: 78.71 MB / 1.214 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.1132/63.39, allocations: 49.85 MB / 12.07 GB, free: 52.05 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/63.4, allocations: 4.905 MB / 12.07 GB, free: 51.89 MB / 1.214 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.05345/63.46, allocations: 13.49 MB / 12.09 GB, free: 48.88 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0109/63.47, allocations: 3.376 MB / 12.09 GB, free: 48.77 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0188/63.49, allocations: 2.457 MB / 12.09 GB, free: 48.56 MB / 1.214 GB Notification: Performance of pre-optimization done (n=327): time 2.901e-05/63.49, allocations: 0 / 12.09 GB, free: 48.56 MB / 1.214 GB Notification: Performance of matching and sorting (n=516): time 0.2761/63.76, allocations: 46.75 MB / 12.14 GB, free: 40.41 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/63.76, allocations: 102.3 kB / 12.14 GB, free: 40.34 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0394/63.8, allocations: 12.17 MB / 12.15 GB, free: 39.62 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002412/63.8, allocations: 179.2 kB / 12.15 GB, free: 39.59 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01116/63.81, allocations: 6.236 MB / 12.16 GB, free: 38.13 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003478/63.82, allocations: 1.742 MB / 12.16 GB, free: 37.01 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002156/63.82, allocations: 146.6 kB / 12.16 GB, free: 37.01 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007094/63.82, allocations: 0.5923 MB / 12.16 GB, free: 36.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01931/63.84, allocations: 4.596 MB / 12.16 GB, free: 36.64 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0224/63.86, allocations: 7.523 MB / 12.17 GB, free: 33.18 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02124/63.88, allocations: 5.366 MB / 12.18 GB, free: 32.91 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.241e-05/63.88, allocations: 19.5 kB / 12.18 GB, free: 32.91 MB / 1.214 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.06256/63.95, allocations: 15.28 MB / 12.19 GB, free: 31.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01253/63.96, allocations: 38.5 MB / 12.23 GB, free: 23.63 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002522/63.96, allocations: 58.12 kB / 12.23 GB, free: 23.63 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/63.97, allocations: 3.519 MB / 12.23 GB, free: 23.48 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02036/63.99, allocations: 1.857 MB / 12.23 GB, free: 23.46 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/64.02, allocations: 12.36 MB / 12.25 GB, free: 16.7 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02458/64.04, allocations: 1.208 MB / 12.25 GB, free: 16.58 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002769/64.04, allocations: 490.2 kB / 12.25 GB, free: 16.58 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/64.04, allocations: 4.156 kB / 12.25 GB, free: 16.58 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05656/64.1, allocations: 14.28 MB / 12.26 GB, free: 16.05 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002476/64.1, allocations: 58.34 kB / 12.26 GB, free: 16.05 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01463/64.11, allocations: 3.793 MB / 12.27 GB, free: 15.89 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01711/64.13, allocations: 1.859 MB / 12.27 GB, free: 15.87 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04281/64.17, allocations: 17.35 MB / 12.29 GB, free: 10.05 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0241/64.2, allocations: 1.175 MB / 12.29 GB, free: 9.953 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002769/64.2, allocations: 454.8 kB / 12.29 GB, free: 9.949 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (738): * Single equations (assignments): 721 * 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: 6 * 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: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01238/64.21, allocations: 3.124 MB / 12.29 GB, free: 9.715 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005369/64.22, allocations: 1.199 MB / 12.29 GB, free: 9.051 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05894/64.28, allocations: 13.71 MB / 12.3 GB, free: 8.238 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/64.28, allocations: 69.19 kB / 12.3 GB, free: 8.234 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/64.28, allocations: 3.875 kB / 12.3 GB, free: 8.234 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04525/64.32, allocations: 11.08 MB / 12.32 GB, free: 7.523 MB / 1.245 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.09036/64.41, allocations: 25.51 MB / 12.34 GB, free: 5.305 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.493e-05/64.41, allocations: 7.344 kB / 12.34 GB, free: 5.305 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01187/64.43, allocations: 1.158 MB / 12.34 GB, free: 5.289 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009598/64.44, allocations: 2.388 MB / 12.34 GB, free: 5.141 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001425/64.44, allocations: 169.1 kB / 12.34 GB, free: 5.141 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/64.45, allocations: 10.99 MB / 12.35 GB, free: 14.38 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/64.45, allocations: 7.438 kB / 12.35 GB, free: 14.38 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06478/64.52, allocations: 20.53 MB / 12.37 GB, free: 9.996 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01155/64.53, allocations: 2.545 MB / 12.38 GB, free: 9.203 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005668/64.53, allocations: 108.3 kB / 12.38 GB, free: 9.199 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01982/64.55, allocations: 0.9762 MB / 12.38 GB, free: 9.105 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/64.56, allocations: 392.2 kB / 12.38 GB, free: 9.082 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001069/64.56, allocations: 255.5 kB / 12.38 GB, free: 9.078 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02647/64.58, allocations: 9.29 MB / 12.39 GB, free: 5.895 MB / 1.26 GB Notification: Performance of sort global known variables: time 7.72e-07/64.58, allocations: 0 / 12.39 GB, free: 5.895 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05433/64.64, allocations: 6.015 MB / 12.39 GB, free: 4.598 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * 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: 6 * 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: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 1.277/65.91, allocations: 26.52 MB / 12.42 GB, free: 123.6 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.07535/65.99, allocations: 18.33 MB / 12.44 GB, free: 123 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/65.99, allocations: 2.344 kB / 12.44 GB, free: 123 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.02133/66.01, allocations: 5.19 MB / 12.44 GB, free: 123 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05221/66.06, allocations: 5.961 MB / 12.45 GB, free: 122.9 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1084/66.17, allocations: 81.07 MB / 12.53 GB, free: 61.41 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01692/66.19, allocations: 7.064 MB / 12.53 GB, free: 60.45 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.03157/66.22, allocations: 3.873 MB / 12.54 GB, free: 60.35 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01765/66.24, allocations: 6.068 MB / 12.54 GB, free: 60.34 MB / 1.26 GB Notification: Performance of SimCode: time 1.162e-06/66.24, allocations: 0 / 12.54 GB, free: 60.34 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.41/69.65, allocations: 391.8 MB / 12.93 GB, free: 134.7 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/69.65, allocations: 251.5 kB / 12.93 GB, free: 134.4 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.52/96.17, allocations: 0 / 12.93 GB, free: 134.4 MB / 1.307 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)