Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.369/1.369, 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.001072/0.001072, allocations: 184.2 kB / 326.5 MB, free: 2.238 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.724/1.724, allocations: 205.4 MB / 0.5775 GB, free: 20.33 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.001003/0.001003, allocations: 91.94 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 13.61 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9673/1.202, allocations: 458.5 MB / 1.348 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.202, allocations: 103.2 kB / 1.348 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 42.83/44.04, allocations: 10.24 GB / 11.59 GB, free: 85.6 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.387e-06/44.04, allocations: 0 / 11.59 GB, free: 85.6 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0038/44.04, allocations: 358.1 kB / 11.59 GB, free: 85.49 MB / 1.135 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.07304/44.11, allocations: 17.44 MB / 11.6 GB, free: 77.86 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/44.11, allocations: 11.09 kB / 11.6 GB, free: 77.86 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004369/44.12, allocations: 0.7823 MB / 11.6 GB, free: 77.42 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/44.13, allocations: 2.079 MB / 11.61 GB, free: 76.59 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06123/44.19, allocations: 18.44 MB / 11.63 GB, free: 63.07 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007627/44.19, allocations: 0.5311 MB / 11.63 GB, free: 62.54 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00316/44.2, allocations: 0.7104 MB / 11.63 GB, free: 61.84 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/44.22, allocations: 8.447 MB / 11.63 GB, free: 53.05 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/44.22, allocations: 19.81 kB / 11.63 GB, free: 53.03 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/44.22, allocations: 252 kB / 11.63 GB, free: 52.78 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/44.22, allocations: 156 kB / 11.63 GB, free: 52.63 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/44.23, allocations: 6.897 MB / 11.64 GB, free: 45.72 MB / 1.135 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.08745/44.32, allocations: 49.71 MB / 11.69 GB, free: 8.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/44.33, allocations: 4.845 MB / 11.69 GB, free: 3.73 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 1.06/45.39, allocations: 13.38 MB / 11.71 GB, free: 107.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006811/45.4, allocations: 3.32 MB / 11.71 GB, free: 107.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01354/45.41, allocations: 2.441 MB / 11.71 GB, free: 107.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=327): time 3.675e-05/45.41, allocations: 0 / 11.71 GB, free: 107.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=516): time 0.1443/45.55, allocations: 44.68 MB / 11.76 GB, free: 101.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/45.56, allocations: 107.4 kB / 11.76 GB, free: 101.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03318/45.59, allocations: 12.18 MB / 11.77 GB, free: 100.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002617/45.59, allocations: 180.7 kB / 11.77 GB, free: 100.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009973/45.6, allocations: 6.225 MB / 11.78 GB, free: 99.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003001/45.6, allocations: 1.742 MB / 11.78 GB, free: 98.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008537/45.6, allocations: 141.6 kB / 11.78 GB, free: 98.48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004743/45.61, allocations: 0.593 MB / 11.78 GB, free: 98.17 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00895/45.61, allocations: 4.391 MB / 11.78 GB, free: 98.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/45.63, allocations: 7.314 MB / 11.79 GB, free: 94.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/45.64, allocations: 5.188 MB / 11.79 GB, free: 94.65 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/45.64, allocations: 17.06 kB / 11.79 GB, free: 94.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.0371/45.67, allocations: 14.89 MB / 11.81 GB, free: 93.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.009023/45.68, allocations: 38.51 MB / 11.85 GB, free: 53.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002885/45.68, allocations: 57.56 kB / 11.85 GB, free: 53.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008073/45.69, allocations: 3.51 MB / 11.85 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01099/45.7, allocations: 1.79 MB / 11.85 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/45.72, allocations: 12.36 MB / 11.86 GB, free: 46.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01805/45.73, allocations: 1.129 MB / 11.86 GB, free: 46.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002692/45.74, allocations: 497.2 kB / 11.87 GB, free: 46.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/45.74, allocations: 3.25 kB / 11.87 GB, free: 46.89 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03089/45.77, allocations: 13.9 MB / 11.88 GB, free: 46.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002998/45.77, allocations: 59.28 kB / 11.88 GB, free: 46.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008503/45.78, allocations: 3.795 MB / 11.88 GB, free: 46.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009381/45.79, allocations: 1.774 MB / 11.88 GB, free: 46.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02441/45.81, allocations: 17.35 MB / 11.9 GB, free: 40.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/45.83, allocations: 1.1 MB / 11.9 GB, free: 40.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/45.83, allocations: 447.6 kB / 11.9 GB, free: 40.65 MB / 1.151 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.01133/45.84, allocations: 3.124 MB / 11.91 GB, free: 40.46 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004368/45.85, allocations: 1.198 MB / 11.91 GB, free: 39.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03028/45.88, allocations: 13.31 MB / 11.92 GB, free: 39.22 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.139e-05/45.88, allocations: 72 kB / 11.92 GB, free: 39.22 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/45.88, allocations: 0.625 kB / 11.92 GB, free: 39.22 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02277/45.9, allocations: 10.69 MB / 11.93 GB, free: 38.64 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 postOpt removeSimpleEquations (simulation): time 0.06163/45.96, allocations: 25.03 MB / 11.96 GB, free: 36.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/45.96, allocations: 5.562 kB / 11.96 GB, free: 36.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005772/45.97, allocations: 1.09 MB / 11.96 GB, free: 36.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/45.97, allocations: 2.385 MB / 11.96 GB, free: 36.29 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/45.97, allocations: 175 kB / 11.96 GB, free: 36.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008006/45.98, allocations: 10.99 MB / 11.97 GB, free: 29.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/45.98, allocations: 9.281 kB / 11.97 GB, free: 29.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03332/46.01, allocations: 19.94 MB / 11.99 GB, free: 25.27 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01153/46.03, allocations: 2.525 MB / 11.99 GB, free: 24.49 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005538/46.03, allocations: 108.2 kB / 11.99 GB, free: 24.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01406/46.05, allocations: 0.9084 MB / 11.99 GB, free: 24.41 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/46.05, allocations: 394.9 kB / 11.99 GB, free: 24.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007389/46.05, allocations: 254 kB / 11.99 GB, free: 24.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0219/46.07, allocations: 9.287 MB / 12 GB, free: 24.04 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/46.07, allocations: 0 / 12 GB, free: 24.04 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.04187/46.11, allocations: 5.955 MB / 12.01 GB, free: 24.04 MB / 1.151 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.04224/46.15, allocations: 25.16 MB / 12.03 GB, free: 17.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03761/46.19, allocations: 17.71 MB / 12.05 GB, free: 15.98 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/46.19, allocations: 3.719 kB / 12.05 GB, free: 15.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.009847/46.2, allocations: 4.987 MB / 12.05 GB, free: 15.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03103/46.23, allocations: 5.945 MB / 12.06 GB, free: 12.94 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.898/48.13, allocations: 80.87 MB / 12.14 GB, free: 159.9 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01706/48.15, allocations: 7.061 MB / 12.15 GB, free: 158.9 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.02293/48.17, allocations: 3.858 MB / 12.15 GB, free: 158.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01402/48.19, allocations: 6.065 MB / 12.16 GB, free: 158.8 MB / 1.214 GB Notification: Performance of SimCode: time 2.334e-06/48.19, allocations: 0 / 12.16 GB, free: 158.8 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5863/48.77, allocations: 390.7 MB / 12.54 GB, free: 4.906 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/48.77, allocations: 265 kB / 12.54 GB, free: 4.543 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.32/75.09, allocations: 1.75 kB / 12.54 GB, free: 4.543 MB / 1.214 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Simplified6.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)