Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.714/2.714, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001524/0.001524, allocations: 173.7 kB / 370.8 MB, free: 10.85 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.079/2.079, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001154/0.001153, allocations: 109.2 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004983, allocations: 16.56 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.047/2.279, allocations: 464.8 MB / 1.432 GB, free: 272.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/2.279, allocations: 100 kB / 1.432 GB, free: 272.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 60.03/62.31, allocations: 10.36 GB / 11.79 GB, free: 91.48 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.855e-06/62.31, allocations: 0 / 11.79 GB, free: 91.48 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003546/62.31, allocations: 387.4 kB / 11.79 GB, free: 91.42 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.1025/62.41, allocations: 18.72 MB / 11.81 GB, free: 84.56 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/62.41, allocations: 12.19 kB / 11.81 GB, free: 84.56 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005746/62.42, allocations: 0.9136 MB / 11.81 GB, free: 84.48 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/62.44, allocations: 2.183 MB / 11.81 GB, free: 83.62 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09641/62.54, allocations: 20.28 MB / 11.83 GB, free: 81.37 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001267/62.54, allocations: 0.5997 MB / 11.83 GB, free: 81.35 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005524/62.54, allocations: 0.8105 MB / 11.83 GB, free: 81.35 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05149/62.59, allocations: 14.24 MB / 11.85 GB, free: 80.56 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005973/62.59, allocations: 15.09 kB / 11.85 GB, free: 80.56 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004807/62.6, allocations: 292.7 kB / 11.85 GB, free: 80.56 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002946/62.6, allocations: 188.4 kB / 11.85 GB, free: 80.56 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05386/62.65, allocations: 18.47 MB / 11.87 GB, free: 80.5 MB / 1.229 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.1866/62.84, allocations: 74.24 MB / 11.94 GB, free: 46.55 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02455/62.87, allocations: 9.797 MB / 11.95 GB, free: 46.36 MB / 1.229 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.08649/62.95, allocations: 29.93 MB / 11.98 GB, free: 37.85 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0233/62.97, allocations: 8.27 MB / 11.98 GB, free: 37.73 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07766/63.05, allocations: 14.74 MB / 12 GB, free: 36.88 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 4.077e-05/63.05, allocations: 0 / 12 GB, free: 36.88 MB / 1.229 GB Notification: Performance of matching and sorting (n=616): time 0.7557/63.81, allocations: 109.5 MB / 12.11 GB, free: 7.223 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/63.81, allocations: 124.2 kB / 12.11 GB, free: 7.086 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.293/65.1, allocations: 12.73 MB / 12.12 GB, free: 109.3 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.004189/65.11, allocations: 193.7 kB / 12.12 GB, free: 109.3 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01468/65.12, allocations: 6.665 MB / 12.13 GB, free: 109.1 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006175/65.13, allocations: 2.076 MB / 12.13 GB, free: 109.1 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004689/65.13, allocations: 159.1 kB / 12.13 GB, free: 109.1 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0009004/65.13, allocations: 0.6159 MB / 12.13 GB, free: 108.8 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0316/65.16, allocations: 8.522 MB / 12.14 GB, free: 108.7 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03281/65.2, allocations: 11.31 MB / 12.15 GB, free: 105.6 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03428/65.23, allocations: 9.484 MB / 12.16 GB, free: 105.5 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/65.23, allocations: 14.81 kB / 12.16 GB, free: 105.5 MB / 1.245 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.1042/65.34, allocations: 27.43 MB / 12.18 GB, free: 104.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.007413/65.34, allocations: 34.78 MB / 12.22 GB, free: 68.41 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003196/65.34, allocations: 53.41 kB / 12.22 GB, free: 68.41 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426/66.77, allocations: 146.8 MB / 12.36 GB, free: 67.65 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02117/66.79, allocations: 1.947 MB / 12.36 GB, free: 67.63 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07494/66.87, allocations: 24.82 MB / 12.39 GB, free: 62.36 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03311/66.9, allocations: 1.362 MB / 12.39 GB, free: 62.25 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00531/66.91, allocations: 0.815 MB / 12.39 GB, free: 62.25 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/66.91, allocations: 6.031 kB / 12.39 GB, free: 62.25 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09772/67, allocations: 26.39 MB / 12.41 GB, free: 61.75 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002993/67, allocations: 51.34 kB / 12.42 GB, free: 61.75 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352/68.36, allocations: 147.2 MB / 12.56 GB, free: 11.02 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/68.37, allocations: 1.93 MB / 12.56 GB, free: 9.219 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1021/68.48, allocations: 29.52 MB / 12.59 GB, free: 2.945 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0329/68.51, allocations: 1.333 MB / 12.59 GB, free: 1.773 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004958/68.51, allocations: 0.7729 MB / 12.59 GB, free: 1.062 MB / 1.292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 744 * 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,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 1.27/69.78, allocations: 3.349 MB / 12.59 GB, free: 154 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008819/69.79, allocations: 1.287 MB / 12.6 GB, free: 154 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3709/70.16, allocations: 47.16 MB / 12.64 GB, free: 153.4 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001858/70.16, allocations: 74.53 kB / 12.64 GB, free: 153.4 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/70.16, allocations: 1.844 kB / 12.64 GB, free: 153.4 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3293/70.49, allocations: 41.57 MB / 12.68 GB, free: 152.8 MB / 1.292 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.1951/70.69, allocations: 48.58 MB / 12.73 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001178/70.69, allocations: 4.438 kB / 12.73 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01353/70.7, allocations: 1.347 MB / 12.73 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.354/71.06, allocations: 42.03 MB / 12.77 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002607/71.06, allocations: 206.3 kB / 12.77 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0376/71.1, allocations: 13.76 MB / 12.79 GB, free: 141.3 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/71.1, allocations: 19.64 kB / 12.79 GB, free: 141.3 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2659/71.36, allocations: 45.02 MB / 12.83 GB, free: 137.8 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01903/71.38, allocations: 3.09 MB / 12.83 GB, free: 137.2 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009157/71.39, allocations: 139.3 kB / 12.83 GB, free: 137.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03337/71.42, allocations: 1.057 MB / 12.83 GB, free: 137.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004257/71.43, allocations: 477.6 kB / 12.83 GB, free: 137.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003139/71.43, allocations: 310.5 kB / 12.84 GB, free: 137.2 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03546/71.47, allocations: 9.739 MB / 12.84 GB, free: 136.8 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.012e-06/71.47, allocations: 0 / 12.84 GB, free: 136.8 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06997/71.54, allocations: 7.195 MB / 12.85 GB, free: 136.8 MB / 1.292 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * 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 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.2569/71.8, allocations: 50.71 MB / 12.9 GB, free: 128.9 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1346/71.93, allocations: 34.57 MB / 12.93 GB, free: 112 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/71.93, allocations: 4 kB / 12.93 GB, free: 112 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.03586/71.97, allocations: 9.566 MB / 12.94 GB, free: 107.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05803/72.02, allocations: 6.799 MB / 12.95 GB, free: 103.7 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1216/72.15, allocations: 81.27 MB / 13.03 GB, free: 29.15 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0181/72.16, allocations: 7.647 MB / 13.04 GB, free: 24.37 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03346/72.2, allocations: 4.086 MB / 13.04 GB, free: 21.41 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01877/72.22, allocations: 6.678 MB / 13.05 GB, free: 15.28 MB / 1.292 GB Notification: Performance of SimCode: time 2.544e-06/72.22, allocations: 0 / 13.05 GB, free: 15.28 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.013/77.23, allocations: 0.5354 GB / 13.58 GB, free: 184.3 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/77.23, allocations: 261.5 kB / 13.58 GB, free: 183.9 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.07/108.3, allocations: 0 / 13.58 GB, free: 183.9 MB / 1.37 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)