Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001163/0.001163, allocations: 181 kB / 377.1 MB, free: 1.535 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.834/1.834, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0009704/0.0009703, allocations: 91.03 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.291, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.761/2.052, allocations: 467.2 MB / 1.445 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/2.052, allocations: 103.6 kB / 1.445 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 48.72/50.77, allocations: 10.53 GB / 11.98 GB, free: 82.66 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.394e-06/50.77, allocations: 0.8125 kB / 11.98 GB, free: 82.66 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003424/50.78, allocations: 348.9 kB / 11.98 GB, free: 82.59 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.08829/50.86, allocations: 17.46 MB / 12 GB, free: 76.74 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/50.86, allocations: 9.656 kB / 12 GB, free: 76.74 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006173/50.87, allocations: 0.7843 MB / 12 GB, free: 76.66 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/50.89, allocations: 2.07 MB / 12 GB, free: 75.88 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06722/50.95, allocations: 18.46 MB / 12.02 GB, free: 73.78 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/50.96, allocations: 0.5313 MB / 12.02 GB, free: 73.77 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004467/50.96, allocations: 0.7118 MB / 12.02 GB, free: 73.76 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03299/50.99, allocations: 8.501 MB / 12.03 GB, free: 72.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00038/50.99, allocations: 15.62 kB / 12.03 GB, free: 72.7 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00277/51, allocations: 251 kB / 12.03 GB, free: 72.7 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/51, allocations: 158.8 kB / 12.03 GB, free: 72.7 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/51.02, allocations: 6.958 MB / 12.03 GB, free: 72.65 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.1079/51.13, allocations: 49.84 MB / 12.08 GB, free: 46 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/51.14, allocations: 4.922 MB / 12.09 GB, free: 45.84 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.05008/51.19, allocations: 13.48 MB / 12.1 GB, free: 42.84 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008559/51.2, allocations: 3.366 MB / 12.1 GB, free: 42.72 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01661/51.21, allocations: 2.45 MB / 12.1 GB, free: 42.52 MB / 1.214 GB Notification: Performance of pre-optimization done (n=327): time 3.925e-05/51.21, allocations: 1.719 kB / 12.1 GB, free: 42.52 MB / 1.214 GB Notification: Performance of matching and sorting (n=516): time 0.1787/51.39, allocations: 46.75 MB / 12.15 GB, free: 34.48 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/51.39, allocations: 111.7 kB / 12.15 GB, free: 34.41 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03598/51.43, allocations: 12.18 MB / 12.16 GB, free: 33.68 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002774/51.43, allocations: 174.4 kB / 12.16 GB, free: 33.65 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01336/51.45, allocations: 6.22 MB / 12.17 GB, free: 32.21 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004495/51.45, allocations: 1.738 MB / 12.17 GB, free: 31.09 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002338/51.45, allocations: 141.5 kB / 12.17 GB, free: 31.09 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0008672/51.45, allocations: 0.602 MB / 12.17 GB, free: 30.77 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01246/51.47, allocations: 4.602 MB / 12.18 GB, free: 30.72 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01441/51.48, allocations: 7.522 MB / 12.18 GB, free: 27.26 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0132/51.49, allocations: 5.365 MB / 12.19 GB, free: 26.99 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/51.49, allocations: 16.59 kB / 12.19 GB, free: 26.99 MB / 1.214 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04326/51.54, allocations: 15.28 MB / 12.2 GB, free: 25.77 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01376/51.55, allocations: 38.51 MB / 12.24 GB, free: 17.71 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003029/51.55, allocations: 60.44 kB / 12.24 GB, free: 17.71 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009796/51.56, allocations: 3.505 MB / 12.24 GB, free: 17.56 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/51.57, allocations: 1.87 MB / 12.25 GB, free: 17.54 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/51.59, allocations: 12.37 MB / 12.26 GB, free: 26.78 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02026/51.61, allocations: 1.204 MB / 12.26 GB, free: 26.66 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003504/51.61, allocations: 490.2 kB / 12.26 GB, free: 26.66 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/51.61, allocations: 5.625 kB / 12.26 GB, free: 26.66 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03792/51.65, allocations: 14.29 MB / 12.27 GB, free: 26.13 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003072/51.65, allocations: 63.47 kB / 12.27 GB, free: 26.13 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00901/51.66, allocations: 3.793 MB / 12.28 GB, free: 25.97 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/51.67, allocations: 1.845 MB / 12.28 GB, free: 25.95 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/51.7, allocations: 17.35 MB / 12.3 GB, free: 20.14 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01885/51.72, allocations: 1.182 MB / 12.3 GB, free: 20.04 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/51.72, allocations: 441.3 kB / 12.3 GB, free: 20.04 MB / 1.261 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.01176/51.73, allocations: 3.129 MB / 12.3 GB, free: 19.8 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004926/51.73, allocations: 1.2 MB / 12.3 GB, free: 19.14 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04421/51.78, allocations: 13.71 MB / 12.32 GB, free: 18.32 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/51.78, allocations: 65.8 kB / 12.32 GB, free: 18.32 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-05/51.78, allocations: 3.953 kB / 12.32 GB, free: 18.31 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03052/51.81, allocations: 11.08 MB / 12.33 GB, free: 17.6 MB / 1.261 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.07587/51.89, allocations: 25.5 MB / 12.35 GB, free: 15.39 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.744e-05/51.89, allocations: 7.453 kB / 12.35 GB, free: 15.39 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006975/51.89, allocations: 1.161 MB / 12.35 GB, free: 15.37 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005963/51.9, allocations: 2.391 MB / 12.35 GB, free: 15.22 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001536/51.9, allocations: 177.1 kB / 12.36 GB, free: 15.22 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/51.91, allocations: 10.97 MB / 12.37 GB, free: 8.496 MB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/51.91, allocations: 12.22 kB / 12.37 GB, free: 8.496 MB / 1.261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04561/51.96, allocations: 20.54 MB / 12.39 GB, free: 20.23 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01253/51.97, allocations: 2.541 MB / 12.39 GB, free: 19.43 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006758/51.98, allocations: 113 kB / 12.39 GB, free: 19.43 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01563/51.99, allocations: 0.974 MB / 12.39 GB, free: 19.34 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001804/51.99, allocations: 397.4 kB / 12.39 GB, free: 19.32 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00153/51.99, allocations: 251.4 kB / 12.39 GB, free: 19.32 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02681/52.02, allocations: 9.288 MB / 12.4 GB, free: 18.96 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.162e-06/52.02, allocations: 4 kB / 12.4 GB, free: 18.96 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05152/52.07, allocations: 6.008 MB / 12.4 GB, free: 18.3 MB / 1.276 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 0.06249/52.14, allocations: 25.78 MB / 12.43 GB, free: 80 kB / 1.276 GB Notification: Performance of simCode: created initialization part: time 1.186/53.32, allocations: 18.96 MB / 12.45 GB, free: 136.2 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/53.32, allocations: 3.656 kB / 12.45 GB, free: 136.2 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.0144/53.34, allocations: 5.181 MB / 12.45 GB, free: 136.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03501/53.37, allocations: 5.952 MB / 12.46 GB, free: 136 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09109/53.46, allocations: 81.08 MB / 12.54 GB, free: 74.62 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/53.48, allocations: 7.063 MB / 12.55 GB, free: 73.66 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02562/53.5, allocations: 3.873 MB / 12.55 GB, free: 73.55 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01575/53.52, allocations: 6.066 MB / 12.56 GB, free: 73.55 MB / 1.276 GB Notification: Performance of SimCode: time 1.002e-06/53.52, allocations: 0 / 12.56 GB, free: 73.55 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.799/55.32, allocations: 391.8 MB / 12.94 GB, free: 165.5 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/55.32, allocations: 254.3 kB / 12.94 GB, free: 165.2 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.39/82.7, allocations: 0 / 12.94 GB, free: 165.2 MB / 1.323 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)