Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001058/0.001058, allocations: 179.8 kB / 361.4 MB, free: 6.828 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.628/1.628, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008483/0.0008483, allocations: 106.4 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.619e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7403, allocations: 115.3 MB / 0.9644 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.939, allocations: 464.8 MB / 1.418 GB, free: 98.73 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.94, allocations: 93.97 kB / 1.418 GB, free: 98.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 44.42/46.36, allocations: 10.22 GB / 11.64 GB, free: 63.67 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.324e-06/46.36, allocations: 2.531 kB / 11.64 GB, free: 63.67 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003486/46.37, allocations: 342 kB / 11.64 GB, free: 63.6 MB / 1.198 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.04359/46.41, allocations: 11.15 MB / 11.65 GB, free: 57.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/46.41, allocations: 14.69 kB / 11.65 GB, free: 57.69 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/46.42, allocations: 2.224 MB / 11.65 GB, free: 56.85 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05946/46.48, allocations: 18.61 MB / 11.67 GB, free: 40.28 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/46.48, allocations: 196 kB / 11.67 GB, free: 40.09 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004471/46.49, allocations: 432.7 kB / 11.67 GB, free: 39.66 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03137/46.52, allocations: 17.9 MB / 11.69 GB, free: 21.76 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03627/46.56, allocations: 12.22 MB / 11.7 GB, free: 9.379 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004235/46.56, allocations: 11.94 kB / 11.7 GB, free: 9.367 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003449/46.56, allocations: 8 kB / 11.7 GB, free: 9.359 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/46.56, allocations: 144 kB / 11.7 GB, free: 9.219 MB / 1.198 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 1.169/47.73, allocations: 69.12 MB / 11.77 GB, free: 49.75 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/47.75, allocations: 10.23 MB / 11.78 GB, free: 49.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01729/47.77, allocations: 8.776 MB / 11.79 GB, free: 49.55 MB / 1.198 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.07391/47.84, allocations: 29.37 MB / 11.82 GB, free: 41.52 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0151/47.85, allocations: 7.993 MB / 11.82 GB, free: 41.41 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04593/47.9, allocations: 15.11 MB / 11.84 GB, free: 41.31 MB / 1.198 GB Notification: Performance of pre-optimization done (n=393): time 4.801e-05/47.9, allocations: 1 kB / 11.84 GB, free: 41.31 MB / 1.198 GB Notification: Performance of matching and sorting (n=395): time 0.1012/48, allocations: 37.17 MB / 11.88 GB, free: 38.62 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/48, allocations: 97.38 kB / 11.88 GB, free: 38.55 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02987/48.03, allocations: 11.14 MB / 11.89 GB, free: 37.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003427/48.04, allocations: 37.61 kB / 11.89 GB, free: 37.87 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008943/48.04, allocations: 5.979 MB / 11.89 GB, free: 36.87 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004568/48.05, allocations: 1.296 MB / 11.89 GB, free: 36.19 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00351/48.05, allocations: 3.844 kB / 11.89 GB, free: 36.19 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0007193/48.05, allocations: 0.5353 MB / 11.89 GB, free: 35.88 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.012/48.07, allocations: 6.919 MB / 11.9 GB, free: 35.86 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01605/48.08, allocations: 9.328 MB / 11.91 GB, free: 33 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/48.1, allocations: 7.968 MB / 11.92 GB, free: 32.88 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/48.1, allocations: 16.19 kB / 11.92 GB, free: 32.88 MB / 1.198 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.06156/48.16, allocations: 22.94 MB / 11.94 GB, free: 31.97 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.009238/48.17, allocations: 29.52 MB / 11.97 GB, free: 17.29 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002586/48.17, allocations: 46.94 kB / 11.97 GB, free: 17.29 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7511/48.92, allocations: 167.2 MB / 12.13 GB, free: 2.895 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008567/48.93, allocations: 1.289 MB / 12.13 GB, free: 1.969 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05206/48.98, allocations: 25.49 MB / 12.16 GB, free: 3.699 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02026/49, allocations: 0.8152 MB / 12.16 GB, free: 3.168 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004548/49.01, allocations: 0.7257 MB / 12.16 GB, free: 2.746 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/49.01, allocations: 3.953 kB / 12.16 GB, free: 2.742 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.081/50.09, allocations: 21.15 MB / 12.18 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/50.09, allocations: 48.94 kB / 12.18 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7485/50.84, allocations: 167.2 MB / 12.34 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/50.84, allocations: 1.276 MB / 12.35 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05802/50.9, allocations: 28.32 MB / 12.37 GB, free: 103 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01652/50.92, allocations: 0.7833 MB / 12.37 GB, free: 103 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003479/50.92, allocations: 0.6929 MB / 12.37 GB, free: 103 MB / 1.229 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.005601/50.93, allocations: 282.9 kB / 12.37 GB, free: 102.9 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04062/50.97, allocations: 19.2 MB / 12.39 GB, free: 102.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005423/50.97, allocations: 1.134 MB / 12.39 GB, free: 102.4 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04156/51.01, allocations: 17.31 MB / 12.41 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-05/51.01, allocations: 51.83 kB / 12.41 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/51.01, allocations: 0 / 12.41 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02215/51.04, allocations: 12.51 MB / 12.42 GB, free: 101.1 MB / 1.229 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.1325/51.17, allocations: 45.41 MB / 12.47 GB, free: 94.95 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-05/51.17, allocations: 0 / 12.47 GB, free: 94.95 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004014/51.17, allocations: 0.6879 MB / 12.47 GB, free: 94.95 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.215/51.39, allocations: 47.69 MB / 12.52 GB, free: 73.75 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001552/51.39, allocations: 74.61 kB / 12.52 GB, free: 73.71 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02179/51.41, allocations: 13.18 MB / 12.53 GB, free: 65.03 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/51.41, allocations: 6.141 kB / 12.53 GB, free: 65.03 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1484/51.56, allocations: 41.06 MB / 12.57 GB, free: 38.07 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009764/51.57, allocations: 2.542 MB / 12.57 GB, free: 36.09 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005429/51.58, allocations: 13.19 kB / 12.57 GB, free: 36.08 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01327/51.59, allocations: 0.6143 MB / 12.57 GB, free: 35.49 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/51.59, allocations: 301.3 kB / 12.57 GB, free: 35.23 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001575/51.59, allocations: 193.4 kB / 12.57 GB, free: 35.07 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.017/51.61, allocations: 8.342 MB / 12.58 GB, free: 29.55 MB / 1.229 GB Notification: Performance of sort global known variables: time 6.32e-07/51.61, allocations: 0 / 12.58 GB, free: 29.55 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04229/51.65, allocations: 5.718 MB / 12.59 GB, free: 24.25 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (324): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 1.185/52.84, allocations: 45.66 MB / 12.63 GB, free: 117.9 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.06606/52.9, allocations: 28.66 MB / 12.66 GB, free: 117.3 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/52.9, allocations: 5.25 kB / 12.66 GB, free: 117.3 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01739/52.92, allocations: 7.213 MB / 12.67 GB, free: 117.2 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04085/52.96, allocations: 6.122 MB / 12.67 GB, free: 117.2 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07247/53.03, allocations: 21.15 MB / 12.69 GB, free: 113.1 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/53.05, allocations: 6.784 MB / 12.7 GB, free: 112.2 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03158/53.08, allocations: 5.739 MB / 12.7 GB, free: 112.1 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01144/53.09, allocations: 5.471 MB / 12.71 GB, free: 112 MB / 1.245 GB Notification: Performance of SimCode: time 1.312e-06/53.09, allocations: 0 / 12.71 GB, free: 112 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.495/56.58, allocations: 475 MB / 13.17 GB, free: 153.4 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/56.59, allocations: 180.3 kB / 13.17 GB, free: 153.2 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.46/82.05, allocations: 0 / 13.17 GB, free: 153.2 MB / 1.292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)