Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001226/0.001226, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.519/1.519, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008365/0.0008364, allocations: 89.47 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.346e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.7017, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.898, allocations: 465.4 MB / 1.419 GB, free: 98.09 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.899, allocations: 96.92 kB / 1.419 GB, free: 98.04 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 43.84/45.74, allocations: 10.46 GB / 11.87 GB, free: 74.7 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.555e-06/45.74, allocations: 0 / 11.87 GB, free: 74.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002864/45.74, allocations: 349.6 kB / 11.87 GB, free: 74.63 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.04575/45.79, allocations: 11.06 MB / 11.89 GB, free: 69.73 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/45.79, allocations: 11.81 kB / 11.89 GB, free: 69.73 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/45.8, allocations: 2.075 MB / 11.89 GB, free: 68.94 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06008/45.86, allocations: 18.27 MB / 11.91 GB, free: 66.84 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007704/45.86, allocations: 195.9 kB / 11.91 GB, free: 66.84 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004216/45.87, allocations: 432.2 kB / 11.91 GB, free: 66.84 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01756/45.89, allocations: 6.895 MB / 11.91 GB, free: 66.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/45.9, allocations: 7.445 MB / 11.92 GB, free: 65.75 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001893/45.9, allocations: 21.41 kB / 11.92 GB, free: 65.75 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/45.91, allocations: 12.98 kB / 11.92 GB, free: 65.75 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/45.91, allocations: 154.9 kB / 11.92 GB, free: 65.75 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 0.08637/45.99, allocations: 48.74 MB / 11.97 GB, free: 39.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/46, allocations: 5.442 MB / 11.97 GB, free: 38.95 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006144/46.01, allocations: 3.961 MB / 11.98 GB, free: 38.89 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.04078/46.05, allocations: 13.48 MB / 11.99 GB, free: 35.75 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00589/46.05, allocations: 3.138 MB / 11.99 GB, free: 35.65 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01418/46.07, allocations: 2.287 MB / 12 GB, free: 35.36 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 3.112e-05/46.07, allocations: 0 / 12 GB, free: 35.36 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.0562/46.13, allocations: 15.71 MB / 12.01 GB, free: 32.49 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/46.13, allocations: 89.61 kB / 12.01 GB, free: 32.42 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02708/46.15, allocations: 11.32 MB / 12.02 GB, free: 31.69 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002122/46.15, allocations: 41.17 kB / 12.02 GB, free: 31.66 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.009566/46.16, allocations: 6.187 MB / 12.03 GB, free: 30.19 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002332/46.17, allocations: 1.079 MB / 12.03 GB, free: 29.47 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/46.17, allocations: 0 / 12.03 GB, free: 29.47 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0004786/46.17, allocations: 0.5339 MB / 12.03 GB, free: 29.15 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/46.17, allocations: 3.039 MB / 12.03 GB, free: 29.13 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/46.18, allocations: 5.789 MB / 12.04 GB, free: 25.72 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007676/46.19, allocations: 3.986 MB / 12.04 GB, free: 25.55 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-05/46.19, allocations: 17.78 kB / 12.04 GB, free: 25.55 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02313/46.21, allocations: 10.76 MB / 12.05 GB, free: 24.57 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01239/46.22, allocations: 38.34 MB / 12.09 GB, free: 16.51 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/46.22, allocations: 55.97 kB / 12.09 GB, free: 16.51 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/46.23, allocations: 1.352 MB / 12.09 GB, free: 16.42 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008209/46.23, allocations: 1.395 MB / 12.09 GB, free: 16.34 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/46.25, allocations: 9.711 MB / 12.1 GB, free: 10.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01405/46.26, allocations: 0.7466 MB / 12.1 GB, free: 10.58 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/46.26, allocations: 414.8 kB / 12.1 GB, free: 10.58 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/46.26, allocations: 4.406 kB / 12.1 GB, free: 10.58 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02051/46.28, allocations: 8.514 MB / 12.11 GB, free: 9.965 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002749/46.28, allocations: 62.72 kB / 12.11 GB, free: 9.965 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/46.29, allocations: 1.47 MB / 12.11 GB, free: 9.867 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/46.29, allocations: 1.383 MB / 12.11 GB, free: 9.781 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/46.31, allocations: 12.53 MB / 12.13 GB, free: 5.266 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01418/46.33, allocations: 0.7096 MB / 12.13 GB, free: 5.172 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/46.33, allocations: 383.5 kB / 12.13 GB, free: 5.164 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 625 * 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: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.003682/46.33, allocations: 316.7 kB / 12.13 GB, free: 4.934 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01688/46.35, allocations: 6.611 MB / 12.13 GB, free: 3.98 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004099/46.35, allocations: 1.134 MB / 12.14 GB, free: 3.352 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01891/46.37, allocations: 7.643 MB / 12.14 GB, free: 1.25 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/46.37, allocations: 39.77 kB / 12.14 GB, free: 1.25 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/46.37, allocations: 0 / 12.14 GB, free: 1.25 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01158/46.38, allocations: 5.859 MB / 12.15 GB, free: 15.53 MB / 1.245 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.04496/46.43, allocations: 16.19 MB / 12.16 GB, free: 6.605 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/46.43, allocations: 6.641 kB / 12.16 GB, free: 6.602 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/46.43, allocations: 0.5991 MB / 12.17 GB, free: 6.117 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/46.44, allocations: 1.128 MB / 12.17 GB, free: 5.172 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007181/46.44, allocations: 60.92 kB / 12.17 GB, free: 5.129 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141/47.58, allocations: 8.092 MB / 12.17 GB, free: 123.2 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/47.58, allocations: 2.688 kB / 12.17 GB, free: 123.2 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/47.6, allocations: 10.48 MB / 12.18 GB, free: 122.4 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009795/47.61, allocations: 2.152 MB / 12.19 GB, free: 122.3 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005029/47.62, allocations: 4.375 kB / 12.19 GB, free: 122.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01355/47.63, allocations: 0.6151 MB / 12.19 GB, free: 122.3 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001468/47.63, allocations: 237.7 kB / 12.19 GB, free: 122.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007048/47.63, allocations: 165.7 kB / 12.19 GB, free: 122.3 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02407/47.66, allocations: 8.457 MB / 12.2 GB, free: 122 MB / 1.245 GB Notification: Performance of sort global known variables: time 8.32e-07/47.66, allocations: 0 / 12.2 GB, free: 122 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04165/47.7, allocations: 5.166 MB / 12.2 GB, free: 122 MB / 1.245 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 (274): * Single equations (assignments): 251 * 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: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.03057/47.73, allocations: 15.08 MB / 12.22 GB, free: 118.9 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02925/47.76, allocations: 11.94 MB / 12.23 GB, free: 118.4 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/47.76, allocations: 2.406 kB / 12.23 GB, free: 118.4 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.006806/47.77, allocations: 2.67 MB / 12.23 GB, free: 118.4 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03809/47.8, allocations: 5.829 MB / 12.24 GB, free: 118.3 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/47.86, allocations: 19.31 MB / 12.25 GB, free: 114.3 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/47.87, allocations: 6.686 MB / 12.26 GB, free: 113.4 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03144/47.9, allocations: 5.849 MB / 12.27 GB, free: 113.3 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0105/47.91, allocations: 5.356 MB / 12.27 GB, free: 113.3 MB / 1.245 GB Notification: Performance of SimCode: time 1.952e-05/47.91, allocations: 0.6562 kB / 12.27 GB, free: 113.3 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5481/48.46, allocations: 339.2 MB / 12.6 GB, free: 128 kB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/48.46, allocations: 181.4 kB / 12.6 GB, free: 15.93 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.82/69.28, allocations: 3.938 kB / 12.6 GB, free: 15.93 MB / 1.276 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)