Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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 2.083/2.083, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001118/0.001118, allocations: 188.8 kB / 366.7 MB, free: 1.695 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.843/1.843, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008199/0.00082, allocations: 89.38 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.154e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7504, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.489/5.239, allocations: 2.082 GB / 3.056 GB, free: 1.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.24, allocations: 91.31 kB / 3.056 GB, free: 1.457 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.433/8.672, allocations: 0.9063 GB / 3.962 GB, free: 165.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/8.672, allocations: 0 / 3.962 GB, free: 165.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001147/8.672, allocations: 43.02 kB / 3.962 GB, free: 165.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003488/8.676, allocations: 1.523 MB / 3.964 GB, free: 165 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/8.676, allocations: 8.75 kB / 3.964 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/8.679, allocations: 417.7 kB / 3.964 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/8.681, allocations: 1.059 MB / 3.965 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/8.681, allocations: 29.16 kB / 3.965 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/8.681, allocations: 56.08 kB / 3.965 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/8.682, allocations: 0.6794 MB / 3.966 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/8.683, allocations: 0.6804 MB / 3.967 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/8.683, allocations: 0 / 3.967 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/8.683, allocations: 3.938 kB / 3.967 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/8.683, allocations: 27.59 kB / 3.967 GB, free: 163.8 MB / 0.948 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.004342/8.688, allocations: 3.491 MB / 3.97 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/8.689, allocations: 1.042 MB / 3.971 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/8.689, allocations: 336.8 kB / 3.971 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/8.69, allocations: 400.3 kB / 3.972 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/8.69, allocations: 43.06 kB / 3.972 GB, free: 160.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.375e-06/8.69, allocations: 0 / 3.972 GB, free: 160.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001513/8.691, allocations: 0.7196 MB / 3.972 GB, free: 159.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/8.691, allocations: 55.94 kB / 3.973 GB, free: 159.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/8.692, allocations: 0.5932 MB / 3.973 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/8.692, allocations: 25.7 kB / 3.973 GB, free: 159.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/8.692, allocations: 489.5 kB / 3.974 GB, free: 159.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/8.693, allocations: 204.6 kB / 3.974 GB, free: 159 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/8.693, allocations: 0 / 3.974 GB, free: 159 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/8.693, allocations: 324.9 kB / 3.974 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/8.693, allocations: 220.7 kB / 3.974 GB, free: 158.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/8.693, allocations: 362.7 kB / 3.975 GB, free: 158.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/8.694, allocations: 345.2 kB / 3.975 GB, free: 158.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/8.694, allocations: 3.938 kB / 3.975 GB, free: 158.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001121/8.695, allocations: 0.7211 MB / 3.976 GB, free: 158 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/8.695, allocations: 450.2 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/8.695, allocations: 0 / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/8.695, allocations: 3.688 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/8.696, allocations: 139.9 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/8.696, allocations: 3.938 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/8.697, allocations: 109.4 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/8.697, allocations: 29.39 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/8.697, allocations: 6.312 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009275/8.698, allocations: 0.5804 MB / 3.977 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/8.698, allocations: 3.781 kB / 3.977 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/8.698, allocations: 3.969 kB / 3.977 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/8.698, allocations: 135.2 kB / 3.977 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/8.698, allocations: 4.312 kB / 3.977 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/8.699, allocations: 117.4 kB / 3.977 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/8.699, allocations: 19.41 kB / 3.977 GB, free: 157.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/8.7, allocations: 117.4 kB / 3.977 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001038/8.701, allocations: 0.662 MB / 3.978 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/8.701, allocations: 94.69 kB / 3.978 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/8.702, allocations: 0.7382 MB / 3.979 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/8.702, allocations: 13.58 kB / 3.979 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/8.702, allocations: 0 / 3.979 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009185/8.703, allocations: 0.9107 MB / 3.98 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/8.706, allocations: 2.096 MB / 3.982 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/8.706, allocations: 7.688 kB / 3.982 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/8.707, allocations: 149.9 kB / 3.982 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/8.707, allocations: 6.219 kB / 3.982 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/8.707, allocations: 14.84 kB / 3.982 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/8.707, allocations: 10.91 kB / 3.982 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/8.707, allocations: 7.922 kB / 3.982 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/8.708, allocations: 1.332 MB / 3.983 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/8.709, allocations: 250.5 kB / 3.983 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/8.709, allocations: 18.88 kB / 3.984 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009259/8.71, allocations: 114.8 kB / 3.984 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/8.71, allocations: 40.48 kB / 3.984 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/8.71, allocations: 30.86 kB / 3.984 GB, free: 153.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005148/8.71, allocations: 469.4 kB / 3.984 GB, free: 153.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/8.71, allocations: 0 / 3.984 GB, free: 153.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001757/8.712, allocations: 0.6748 MB / 3.985 GB, free: 153 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004862/8.717, allocations: 5.269 MB / 3.99 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001272/8.718, allocations: 0.8602 MB / 3.991 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/8.718, allocations: 3.375 kB / 3.991 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/8.719, allocations: 299.2 kB / 3.991 GB, free: 149.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/8.722, allocations: 0.6088 MB / 3.992 GB, free: 148.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/8.725, allocations: 1.918 MB / 3.994 GB, free: 147.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/8.726, allocations: 1.154 MB / 3.995 GB, free: 147 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001399/8.727, allocations: 350.4 kB / 3.995 GB, free: 146.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/8.728, allocations: 390.7 kB / 3.995 GB, free: 146.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/8.728, allocations: 0 / 3.995 GB, free: 146.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/8.798, allocations: 45.03 MB / 4.039 GB, free: 103.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/8.798, allocations: 164 kB / 4.04 GB, free: 103.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.823/12.62, allocations: 6.844 kB / 4.04 GB, free: 103.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)