Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001321/0.001321, allocations: 189 kB / 377.1 MB, free: 1.547 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.828/1.828, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.001065/0.001065, allocations: 97.41 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2838, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.771/2.054, allocations: 466.5 MB / 1.444 GB, free: 264.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/2.055, allocations: 102 kB / 1.444 GB, free: 264.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 45.5/47.56, allocations: 10.3 GB / 11.74 GB, free: 91.53 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.485e-06/47.56, allocations: 0 / 11.74 GB, free: 91.53 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003926/47.56, allocations: 351.8 kB / 11.74 GB, free: 91.47 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.08215/47.64, allocations: 17.54 MB / 11.76 GB, free: 85.12 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/47.64, allocations: 8.594 kB / 11.76 GB, free: 85.12 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007319/47.65, allocations: 0.788 MB / 11.76 GB, free: 85.05 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/47.67, allocations: 2.226 MB / 11.76 GB, free: 84.26 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07087/47.74, allocations: 18.81 MB / 11.78 GB, free: 82.16 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/47.74, allocations: 0.5303 MB / 11.78 GB, free: 82.15 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005235/47.74, allocations: 0.7115 MB / 11.78 GB, free: 82.14 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/47.79, allocations: 13.34 MB / 11.79 GB, free: 81.54 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006342/47.79, allocations: 8.906 kB / 11.79 GB, free: 81.54 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004474/47.79, allocations: 248.1 kB / 11.8 GB, free: 81.54 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002464/47.79, allocations: 150.5 kB / 11.8 GB, free: 81.54 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04342/47.84, allocations: 17.98 MB / 11.81 GB, free: 81.49 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.1465/47.98, allocations: 70.1 MB / 11.88 GB, free: 49.58 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/48, allocations: 9.765 MB / 11.89 GB, free: 49.4 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.07147/48.07, allocations: 29.22 MB / 11.92 GB, free: 41.32 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01647/48.09, allocations: 8.299 MB / 11.93 GB, free: 41.2 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04552/48.13, allocations: 15.07 MB / 11.94 GB, free: 40.35 MB / 1.214 GB Notification: Performance of pre-optimization done (n=394): time 4.745e-05/48.14, allocations: 0 / 11.94 GB, free: 40.35 MB / 1.214 GB Notification: Performance of matching and sorting (n=583): time 0.501/48.64, allocations: 117 MB / 12.06 GB, free: 1.164 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/48.64, allocations: 112 kB / 12.06 GB, free: 1.039 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.197/49.83, allocations: 11.98 MB / 12.07 GB, free: 114.7 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004034/49.84, allocations: 182.5 kB / 12.07 GB, free: 114.7 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01113/49.85, allocations: 6.005 MB / 12.07 GB, free: 114.5 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006184/49.86, allocations: 1.962 MB / 12.08 GB, free: 114.5 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004114/49.86, allocations: 145.9 kB / 12.08 GB, free: 114.5 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0009991/49.86, allocations: 0.5962 MB / 12.08 GB, free: 114.2 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0213/49.88, allocations: 8.527 MB / 12.09 GB, free: 114.1 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02276/49.9, allocations: 11.11 MB / 12.1 GB, free: 111.3 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02234/49.93, allocations: 9.399 MB / 12.11 GB, free: 111.1 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001761/49.93, allocations: 12.44 kB / 12.11 GB, free: 111.1 MB / 1.229 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.08615/50.01, allocations: 27.61 MB / 12.13 GB, free: 110.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007984/50.02, allocations: 29.64 MB / 12.16 GB, free: 79.52 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/50.02, allocations: 45.56 kB / 12.16 GB, free: 79.52 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7889/50.81, allocations: 170.6 MB / 12.33 GB, free: 78.34 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/50.82, allocations: 1.754 MB / 12.33 GB, free: 78.32 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05984/50.88, allocations: 26.74 MB / 12.36 GB, free: 73.02 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02532/50.91, allocations: 1.28 MB / 12.36 GB, free: 72.92 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006043/50.91, allocations: 0.7945 MB / 12.36 GB, free: 72.92 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/50.91, allocations: 11.25 kB / 12.36 GB, free: 72.91 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07483/50.99, allocations: 26.64 MB / 12.38 GB, free: 72.42 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003273/50.99, allocations: 46.22 kB / 12.38 GB, free: 72.42 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899/52.89, allocations: 170.9 MB / 12.55 GB, free: 154.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009642/52.9, allocations: 1.741 MB / 12.55 GB, free: 154.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07199/52.97, allocations: 31.77 MB / 12.58 GB, free: 150.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02373/52.99, allocations: 1.252 MB / 12.58 GB, free: 150.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00564/53, allocations: 0.754 MB / 12.59 GB, free: 150.5 MB / 1.276 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * 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 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01651/53.02, allocations: 3.097 MB / 12.59 GB, free: 150.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008155/53.02, allocations: 1.211 MB / 12.59 GB, free: 150.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1108/53.14, allocations: 24.85 MB / 12.61 GB, free: 149.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002891/53.14, allocations: 80.16 kB / 12.61 GB, free: 149.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.169e-05/53.14, allocations: 2.812 kB / 12.61 GB, free: 149.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06963/53.21, allocations: 19.33 MB / 12.63 GB, free: 149.2 MB / 1.276 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.1226/53.33, allocations: 45.85 MB / 12.68 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001121/53.33, allocations: 7.812 kB / 12.68 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007556/53.34, allocations: 1.247 MB / 12.68 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2108/53.55, allocations: 48.98 MB / 12.73 GB, free: 142.8 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002617/53.55, allocations: 199 kB / 12.73 GB, free: 142.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02637/53.58, allocations: 14.86 MB / 12.74 GB, free: 137.6 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/53.58, allocations: 16.45 kB / 12.74 GB, free: 137.6 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07117/53.65, allocations: 31.57 MB / 12.77 GB, free: 134.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01396/53.66, allocations: 2.939 MB / 12.78 GB, free: 133.3 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007475/53.67, allocations: 127.5 kB / 12.78 GB, free: 133.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01803/53.69, allocations: 0.9955 MB / 12.78 GB, free: 133.3 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003491/53.69, allocations: 463 kB / 12.78 GB, free: 133.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002828/53.69, allocations: 285 kB / 12.78 GB, free: 133.2 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02734/53.72, allocations: 9.166 MB / 12.79 GB, free: 132.9 MB / 1.276 GB Notification: Performance of sort global known variables: time 9.82e-07/53.72, allocations: 0 / 12.79 GB, free: 132.9 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05366/53.77, allocations: 6.584 MB / 12.79 GB, free: 132.9 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 (489): * Single equations (assignments): 467 * 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,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.07449/53.85, allocations: 36.93 MB / 12.83 GB, free: 126.6 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.09215/53.94, allocations: 35.2 MB / 12.86 GB, free: 119.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/53.94, allocations: 8.062 kB / 12.86 GB, free: 119.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02353/53.96, allocations: 9.846 MB / 12.87 GB, free: 111.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03513/54, allocations: 6.254 MB / 12.88 GB, free: 106.7 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/54.1, allocations: 73.42 MB / 12.95 GB, free: 35.28 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/54.12, allocations: 7.156 MB / 12.96 GB, free: 30.29 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.0239/54.14, allocations: 3.758 MB / 12.96 GB, free: 27.58 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01279/54.15, allocations: 6.112 MB / 12.97 GB, free: 21.96 MB / 1.276 GB Notification: Performance of SimCode: time 1.182e-06/54.15, allocations: 0 / 12.97 GB, free: 21.96 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.755/57.91, allocations: 0.5153 GB / 13.48 GB, free: 152.4 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/57.91, allocations: 257.3 kB / 13.48 GB, free: 152.1 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.46/87.37, allocations: 0 / 13.48 GB, free: 152.1 MB / 1.339 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)