Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 179.7 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.5775 GB, free: 20.34 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008376/0.0008377, allocations: 94.34 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 10.56 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.972/1.207, allocations: 457.9 MB / 1.347 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.207, allocations: 103.3 kB / 1.347 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 42.88/44.08, allocations: 10.01 GB / 11.36 GB, free: 81.17 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.806e-06/44.08, allocations: 1.25 kB / 11.36 GB, free: 81.17 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003344/44.09, allocations: 356.6 kB / 11.36 GB, free: 81.11 MB / 1.151 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.07435/44.16, allocations: 17.52 MB / 11.38 GB, free: 75.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/44.16, allocations: 10.28 kB / 11.38 GB, free: 75.18 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005781/44.17, allocations: 0.7878 MB / 11.38 GB, free: 75.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/44.19, allocations: 2.221 MB / 11.38 GB, free: 74.31 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07201/44.26, allocations: 18.8 MB / 11.4 GB, free: 72.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001573/44.26, allocations: 0.531 MB / 11.4 GB, free: 72.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007264/44.27, allocations: 0.7072 MB / 11.4 GB, free: 72.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04079/44.31, allocations: 13.3 MB / 11.41 GB, free: 71.59 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005171/44.31, allocations: 12.02 kB / 11.41 GB, free: 71.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00415/44.31, allocations: 247.7 kB / 11.41 GB, free: 71.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/44.31, allocations: 149.2 kB / 11.41 GB, free: 71.59 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/44.35, allocations: 17.91 MB / 11.43 GB, free: 71.54 MB / 1.151 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.1484/44.5, allocations: 69.96 MB / 11.5 GB, free: 39.77 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/44.51, allocations: 9.712 MB / 11.51 GB, free: 39.61 MB / 1.151 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.07007/44.58, allocations: 29.14 MB / 11.53 GB, free: 31.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01591/44.6, allocations: 8.25 MB / 11.54 GB, free: 31.45 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04657/44.65, allocations: 15.08 MB / 11.56 GB, free: 31.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=394): time 3.954e-05/44.65, allocations: 0 / 11.56 GB, free: 31.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=583): time 0.421/45.07, allocations: 114.2 MB / 11.67 GB, free: 21.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/45.07, allocations: 111.1 kB / 11.67 GB, free: 21.45 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02937/45.1, allocations: 11.98 MB / 11.68 GB, free: 20.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004149/45.1, allocations: 185.8 kB / 11.68 GB, free: 20.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.008922/45.11, allocations: 6.005 MB / 11.69 GB, free: 19.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005213/45.12, allocations: 1.964 MB / 11.69 GB, free: 18.13 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/45.12, allocations: 148.5 kB / 11.69 GB, free: 18.13 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004893/45.12, allocations: 0.6043 MB / 11.69 GB, free: 17.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01558/45.13, allocations: 8.3 MB / 11.7 GB, free: 17.77 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01895/45.15, allocations: 10.9 MB / 11.71 GB, free: 14.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/45.17, allocations: 9.215 MB / 11.72 GB, free: 10.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/45.17, allocations: 11.19 kB / 11.72 GB, free: 10.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.07038/45.24, allocations: 27.46 MB / 11.74 GB, free: 10.87 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.053/46.3, allocations: 29.64 MB / 11.77 GB, free: 101.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/46.3, allocations: 46.09 kB / 11.77 GB, free: 101.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7074/47, allocations: 170.6 MB / 11.94 GB, free: 101.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/47.01, allocations: 1.681 MB / 11.94 GB, free: 101.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04551/47.06, allocations: 26.75 MB / 11.97 GB, free: 96.06 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.021/47.08, allocations: 1.197 MB / 11.97 GB, free: 96.01 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00481/47.09, allocations: 0.8113 MB / 11.97 GB, free: 96 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/47.09, allocations: 3.844 kB / 11.97 GB, free: 96 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05929/47.15, allocations: 26.24 MB / 12 GB, free: 95.53 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003001/47.15, allocations: 45.06 kB / 12 GB, free: 95.53 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7172/47.86, allocations: 170.9 MB / 12.16 GB, free: 11.93 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009423/47.87, allocations: 1.663 MB / 12.16 GB, free: 10.39 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06406/47.94, allocations: 31.78 MB / 12.19 GB, free: 2.672 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/47.96, allocations: 1.18 MB / 12.2 GB, free: 1.668 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004231/47.96, allocations: 0.762 MB / 12.2 GB, free: 0.9688 MB / 1.214 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.01372/47.97, allocations: 3.095 MB / 12.2 GB, free: 15.06 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005701/47.98, allocations: 1.202 MB / 12.2 GB, free: 14.51 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.085/49.07, allocations: 24.45 MB / 12.22 GB, free: 151.3 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001938/49.07, allocations: 71.89 kB / 12.22 GB, free: 151.3 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/49.07, allocations: 1.5 kB / 12.22 GB, free: 151.3 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04733/49.11, allocations: 18.94 MB / 12.24 GB, free: 150.8 MB / 1.229 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.1121/49.22, allocations: 45.38 MB / 12.29 GB, free: 144.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.314e-05/49.22, allocations: 6.656 kB / 12.29 GB, free: 144.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006882/49.23, allocations: 1.183 MB / 12.29 GB, free: 144.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2066/49.44, allocations: 48.99 MB / 12.34 GB, free: 144.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002125/49.44, allocations: 195 kB / 12.34 GB, free: 144.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/49.46, allocations: 14.86 MB / 12.35 GB, free: 139.2 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/49.46, allocations: 13.91 kB / 12.35 GB, free: 139.2 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06136/49.52, allocations: 30.98 MB / 12.38 GB, free: 135.8 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01286/49.54, allocations: 2.914 MB / 12.38 GB, free: 135.7 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006531/49.54, allocations: 130.7 kB / 12.38 GB, free: 135.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0166/49.56, allocations: 0.9299 MB / 12.39 GB, free: 135.7 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002617/49.56, allocations: 466.1 kB / 12.39 GB, free: 135.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001711/49.57, allocations: 281.8 kB / 12.39 GB, free: 135.7 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02229/49.59, allocations: 9.165 MB / 12.4 GB, free: 135.3 MB / 1.229 GB Notification: Performance of sort global known variables: time 3.71e-07/49.59, allocations: 0 / 12.4 GB, free: 135.3 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04985/49.64, allocations: 6.529 MB / 12.4 GB, free: 135.3 MB / 1.229 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.07154/49.71, allocations: 36.28 MB / 12.44 GB, free: 129.1 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.08474/49.79, allocations: 34.56 MB / 12.47 GB, free: 128.4 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/49.79, allocations: 3.719 kB / 12.47 GB, free: 128.4 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02186/49.82, allocations: 9.675 MB / 12.48 GB, free: 128.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03568/49.85, allocations: 6.256 MB / 12.49 GB, free: 128.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1103/49.96, allocations: 73.21 MB / 12.56 GB, free: 76.4 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01804/49.98, allocations: 7.152 MB / 12.56 GB, free: 74.6 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02521/50.01, allocations: 3.74 MB / 12.57 GB, free: 71.92 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.015/50.02, allocations: 6.108 MB / 12.57 GB, free: 69.74 MB / 1.229 GB Notification: Performance of SimCode: time 1.522e-06/50.02, allocations: 0 / 12.57 GB, free: 69.74 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.5/52.52, allocations: 0.5142 GB / 13.09 GB, free: 11.37 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/52.52, allocations: 261 kB / 13.09 GB, free: 11.01 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.3/79.82, allocations: 0 / 13.09 GB, free: 11.01 MB / 1.229 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)