Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4",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.661/1.661, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001139/0.001139, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.77/1.77, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009272/0.0009271, allocations: 89.25 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.031e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7675, allocations: 116.3 MB / 0.9733 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/2.011, allocations: 465.2 MB / 1.428 GB, free: 87.57 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/2.011, allocations: 93.2 kB / 1.428 GB, free: 87.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 43.13/45.14, allocations: 10.28 GB / 11.71 GB, free: 72.5 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.495e-06/45.14, allocations: 0 / 11.71 GB, free: 72.5 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.002779/45.14, allocations: 394.3 kB / 11.71 GB, free: 72.41 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.04597/45.19, allocations: 12.12 MB / 11.72 GB, free: 66.91 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/45.19, allocations: 6.969 kB / 11.72 GB, free: 66.91 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/45.2, allocations: 2.179 MB / 11.72 GB, free: 66.02 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0651/45.27, allocations: 20.07 MB / 11.74 GB, free: 63.48 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005878/45.27, allocations: 225.4 kB / 11.74 GB, free: 63.48 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004679/45.27, allocations: 491.2 kB / 11.74 GB, free: 63.48 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03069/45.3, allocations: 18.35 MB / 11.76 GB, free: 63.45 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/45.34, allocations: 12.99 MB / 11.77 GB, free: 59.73 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/45.34, allocations: 18.56 kB / 11.77 GB, free: 59.72 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002698/45.34, allocations: 10.75 kB / 11.77 GB, free: 59.72 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/45.34, allocations: 183.9 kB / 11.77 GB, free: 59.71 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 preOpt removeSimpleEquations (simulation): time 0.1309/45.47, allocations: 73.1 MB / 11.85 GB, free: 80 kB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.159/46.63, allocations: 10.48 MB / 11.86 GB, free: 86.84 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01325/46.64, allocations: 8.809 MB / 11.86 GB, free: 86.81 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 preOpt evalFunc (simulation): time 0.06997/46.71, allocations: 30.16 MB / 11.89 GB, free: 78.45 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0139/46.73, allocations: 7.969 MB / 11.9 GB, free: 78.34 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04903/46.78, allocations: 14.85 MB / 11.92 GB, free: 78.34 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 4.508e-05/46.78, allocations: 1.312 kB / 11.92 GB, free: 78.34 MB / 1.229 GB Notification: Performance of matching and sorting (n=429): time 0.09972/46.88, allocations: 36.99 MB / 11.95 GB, free: 76.14 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/46.88, allocations: 94.41 kB / 11.95 GB, free: 76.08 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02617/46.9, allocations: 11.85 MB / 11.96 GB, free: 75.41 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003505/46.91, allocations: 38.3 kB / 11.96 GB, free: 75.38 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.008685/46.92, allocations: 6.602 MB / 11.97 GB, free: 74.23 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.004823/46.92, allocations: 1.414 MB / 11.97 GB, free: 73.5 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/46.92, allocations: 0 / 11.97 GB, free: 73.5 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0004307/46.92, allocations: 0.562 MB / 11.97 GB, free: 73.18 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009314/46.93, allocations: 6.942 MB / 11.98 GB, free: 73.16 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/46.95, allocations: 9.547 MB / 11.99 GB, free: 70.07 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/46.96, allocations: 8.067 MB / 12 GB, free: 69.95 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/46.96, allocations: 16.28 kB / 12 GB, free: 69.95 MB / 1.229 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05908/47.02, allocations: 22.81 MB / 12.02 GB, free: 69 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.008526/47.03, allocations: 34.63 MB / 12.05 GB, free: 32.96 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002898/47.03, allocations: 54.11 kB / 12.05 GB, free: 32.96 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.641/47.67, allocations: 143.5 MB / 12.19 GB, free: 32.03 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008519/47.68, allocations: 1.481 MB / 12.19 GB, free: 32.03 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03419/47.71, allocations: 23.3 MB / 12.22 GB, free: 27.89 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01867/47.73, allocations: 0.8777 MB / 12.22 GB, free: 27.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004132/47.74, allocations: 0.7423 MB / 12.22 GB, free: 27.8 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/47.74, allocations: 4.719 kB / 12.22 GB, free: 27.8 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.646/49.38, allocations: 103 MB / 12.32 GB, free: 104.1 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/49.38, allocations: 52.31 kB / 12.32 GB, free: 104.1 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6466/50.03, allocations: 143.6 MB / 12.46 GB, free: 104 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/50.04, allocations: 1.479 MB / 12.46 GB, free: 104 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04516/50.08, allocations: 25.92 MB / 12.49 GB, free: 101.5 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01851/50.1, allocations: 0.8516 MB / 12.49 GB, free: 101.5 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004001/50.11, allocations: 0.7023 MB / 12.49 GB, free: 101.5 MB / 1.26 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.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: 237 * 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 (661): * Single equations (assignments): 649 * 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 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005088/50.11, allocations: 296 kB / 12.49 GB, free: 101.3 MB / 1.26 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04313/50.15, allocations: 18.84 MB / 12.51 GB, free: 101.1 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006333/50.16, allocations: 1.221 MB / 12.51 GB, free: 101.1 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04364/50.2, allocations: 17.05 MB / 12.52 GB, free: 100.4 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.221e-05/50.2, allocations: 57.08 kB / 12.52 GB, free: 100.4 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/50.2, allocations: 2.484 kB / 12.52 GB, free: 100.4 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0247/50.23, allocations: 12.2 MB / 12.54 GB, free: 99.98 MB / 1.26 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.06838/50.3, allocations: 33.49 MB / 12.57 GB, free: 94.01 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/50.3, allocations: 0 / 12.57 GB, free: 94.01 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004541/50.3, allocations: 0.8033 MB / 12.57 GB, free: 94 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1809/50.48, allocations: 40.72 MB / 12.61 GB, free: 93.78 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001689/50.48, allocations: 74.95 kB / 12.61 GB, free: 93.78 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/50.5, allocations: 11.93 MB / 12.62 GB, free: 89.73 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/50.5, allocations: 0 / 12.62 GB, free: 89.73 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07487/50.58, allocations: 28.53 MB / 12.65 GB, free: 84.89 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009201/50.59, allocations: 2.707 MB / 12.65 GB, free: 83.28 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004388/50.59, allocations: 9.234 kB / 12.65 GB, free: 83.27 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01239/50.6, allocations: 0.6703 MB / 12.65 GB, free: 82.83 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/50.6, allocations: 310.1 kB / 12.65 GB, free: 82.68 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007897/50.6, allocations: 222.1 kB / 12.65 GB, free: 82.53 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.01701/50.62, allocations: 8.869 MB / 12.66 GB, free: 77.82 MB / 1.26 GB Notification: Performance of sort global known variables: time 5.21e-07/50.62, allocations: 0 / 12.66 GB, free: 77.82 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.04878/50.67, allocations: 6.296 MB / 12.67 GB, free: 72.08 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (373): * Single equations (assignments): 353 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.08534/50.76, allocations: 33.6 MB / 12.7 GB, free: 52.32 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.05737/50.81, allocations: 28.11 MB / 12.73 GB, free: 38.28 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/50.81, allocations: 0 / 12.73 GB, free: 38.28 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/50.83, allocations: 6.971 MB / 12.73 GB, free: 34.86 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03726/50.86, allocations: 6.635 MB / 12.74 GB, free: 31.14 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06074/50.92, allocations: 23.07 MB / 12.76 GB, free: 14.32 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01026/50.94, allocations: 7.28 MB / 12.77 GB, free: 9.301 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.03145/50.97, allocations: 6.113 MB / 12.78 GB, free: 5.34 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158/53.12, allocations: 6.296 MB / 12.78 GB, free: 94.42 MB / 1.261 GB Notification: Performance of SimCode: time 1.473e-06/53.12, allocations: 0 / 12.78 GB, free: 94.42 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.916/55.04, allocations: 495.5 MB / 13.27 GB, free: 139.1 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/55.04, allocations: 173.2 kB / 13.27 GB, free: 138.9 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.26/83.3, allocations: 0 / 13.27 GB, free: 138.9 MB / 1.354 GB (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified4.fmu > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)