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.433/2.433, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001393/0.001392, allocations: 184.8 kB / 360.6 MB, free: 7.301 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.04/2.04, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001178/0.001177, allocations: 100.6 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.296e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8595, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/2.23, allocations: 465.3 MB / 1.418 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/2.23, allocations: 95.08 kB / 1.418 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 59.22/61.45, allocations: 10.46 GB / 11.87 GB, free: 77.72 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.737e-06/61.45, allocations: 0 / 11.87 GB, free: 77.72 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00339/61.45, allocations: 349.8 kB / 11.87 GB, free: 77.65 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.05445/61.51, allocations: 11.07 MB / 11.88 GB, free: 72.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/61.51, allocations: 9.094 kB / 11.88 GB, free: 72.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/61.53, allocations: 2.072 MB / 11.89 GB, free: 71.91 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0822/61.61, allocations: 18.27 MB / 11.9 GB, free: 69.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008349/61.61, allocations: 197.7 kB / 11.9 GB, free: 69.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003591/61.61, allocations: 430.2 kB / 11.9 GB, free: 69.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.023/61.64, allocations: 6.886 MB / 11.91 GB, free: 69.78 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/61.67, allocations: 7.451 MB / 11.92 GB, free: 68.73 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004206/61.67, allocations: 18.17 kB / 11.92 GB, free: 68.73 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002728/61.67, allocations: 13.28 kB / 11.92 GB, free: 68.73 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/61.67, allocations: 154.5 kB / 11.92 GB, free: 68.73 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.1115/61.78, allocations: 48.74 MB / 11.97 GB, free: 41.93 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/61.79, allocations: 5.433 MB / 11.97 GB, free: 41.78 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00936/61.8, allocations: 3.972 MB / 11.98 GB, free: 41.7 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.05358/61.86, allocations: 13.48 MB / 11.99 GB, free: 38.52 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008458/61.86, allocations: 3.146 MB / 11.99 GB, free: 38.41 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01783/61.88, allocations: 2.286 MB / 11.99 GB, free: 38.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 3.07e-05/61.88, allocations: 0 / 11.99 GB, free: 38.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.06568/61.95, allocations: 15.71 MB / 12.01 GB, free: 35.21 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/61.95, allocations: 92.8 kB / 12.01 GB, free: 35.14 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03347/61.98, allocations: 11.32 MB / 12.02 GB, free: 34.41 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001921/61.98, allocations: 36.23 kB / 12.02 GB, free: 34.38 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.009933/61.99, allocations: 6.182 MB / 12.03 GB, free: 32.91 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002507/62, allocations: 1.081 MB / 12.03 GB, free: 32.19 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/62, allocations: 3.531 kB / 12.03 GB, free: 32.19 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006329/62, allocations: 0.537 MB / 12.03 GB, free: 31.87 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008107/62.01, allocations: 3.039 MB / 12.03 GB, free: 31.85 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/62.02, allocations: 5.786 MB / 12.04 GB, free: 28.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/62.03, allocations: 3.985 MB / 12.04 GB, free: 28.16 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/62.03, allocations: 19.89 kB / 12.04 GB, free: 28.16 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03966/62.07, allocations: 10.76 MB / 12.05 GB, free: 26.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0106/62.08, allocations: 38.34 MB / 12.09 GB, free: 2.836 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/62.08, allocations: 55.38 kB / 12.09 GB, free: 2.836 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005092/62.09, allocations: 1.348 MB / 12.09 GB, free: 2.75 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01516/62.1, allocations: 1.394 MB / 12.09 GB, free: 2.66 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/62.12, allocations: 9.707 MB / 12.1 GB, free: 12.63 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01979/62.14, allocations: 0.7472 MB / 12.1 GB, free: 12.52 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00238/62.14, allocations: 417.5 kB / 12.1 GB, free: 12.47 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/62.14, allocations: 3.844 kB / 12.1 GB, free: 12.47 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03339/62.17, allocations: 8.517 MB / 12.11 GB, free: 9.73 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/62.17, allocations: 56.59 kB / 12.11 GB, free: 9.73 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007003/62.18, allocations: 1.468 MB / 12.11 GB, free: 9.418 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/62.19, allocations: 1.383 MB / 12.11 GB, free: 9.293 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03323/62.23, allocations: 12.56 MB / 12.13 GB, free: 1.734 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01865/62.24, allocations: 0.721 MB / 12.13 GB, free: 1.637 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/62.25, allocations: 377.2 kB / 12.13 GB, free: 1.59 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.002893/62.25, allocations: 313.8 kB / 12.13 GB, free: 1.336 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.198/63.45, allocations: 6.603 MB / 12.13 GB, free: 113.4 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004872/63.45, allocations: 1.134 MB / 12.13 GB, free: 113.4 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02954/63.48, allocations: 7.635 MB / 12.14 GB, free: 113.1 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.519e-05/63.48, allocations: 36.98 kB / 12.14 GB, free: 113.1 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/63.48, allocations: 4.781 kB / 12.14 GB, free: 113.1 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01754/63.5, allocations: 5.757 MB / 12.15 GB, free: 112.6 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.05675/63.56, allocations: 16.18 MB / 12.16 GB, free: 111.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/63.56, allocations: 2.625 kB / 12.16 GB, free: 111.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006599/63.56, allocations: 0.5961 MB / 12.16 GB, free: 111.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004154/63.57, allocations: 1.131 MB / 12.17 GB, free: 111.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007769/63.57, allocations: 55.53 kB / 12.17 GB, free: 111.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/63.58, allocations: 8.102 MB / 12.17 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/63.58, allocations: 8.188 kB / 12.17 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03218/63.61, allocations: 10.5 MB / 12.18 GB, free: 104.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01014/63.62, allocations: 2.149 MB / 12.19 GB, free: 103.9 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004719/63.62, allocations: 5.438 kB / 12.19 GB, free: 103.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01561/63.64, allocations: 0.6134 MB / 12.19 GB, free: 103.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/63.64, allocations: 230.7 kB / 12.19 GB, free: 103.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006969/63.64, allocations: 168.4 kB / 12.19 GB, free: 103.9 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02554/63.67, allocations: 8.454 MB / 12.19 GB, free: 103.6 MB / 1.229 GB Notification: Performance of sort global known variables: time 6.61e-07/63.67, allocations: 3.25 kB / 12.19 GB, free: 103.6 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05184/63.72, allocations: 5.171 MB / 12.2 GB, free: 103.6 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 (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.04052/63.76, allocations: 15.07 MB / 12.21 GB, free: 99.94 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.03596/63.8, allocations: 11.94 MB / 12.23 GB, free: 99.48 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/63.8, allocations: 1.5 kB / 12.23 GB, free: 99.48 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.008911/63.81, allocations: 2.667 MB / 12.23 GB, free: 99.45 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05202/63.86, allocations: 5.835 MB / 12.23 GB, free: 99.39 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09664/63.95, allocations: 19.3 MB / 12.25 GB, free: 95.39 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0229/63.98, allocations: 6.694 MB / 12.26 GB, free: 94.44 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.05623/64.03, allocations: 5.853 MB / 12.27 GB, free: 94.32 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01978/64.05, allocations: 5.355 MB / 12.27 GB, free: 94.31 MB / 1.229 GB Notification: Performance of SimCode: time 1.863e-06/64.05, allocations: 0 / 12.27 GB, free: 94.31 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.293/67.35, allocations: 339.1 MB / 12.6 GB, free: 119.9 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/67.35, allocations: 171.4 kB / 12.6 GB, free: 119.7 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.92/92.26, allocations: 2.625 kB / 12.6 GB, free: 119.7 MB / 1.276 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)