Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.859/1.859, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001255/0.001255, allocations: 189 kB / 371.8 MB, free: 10.25 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.708/1.708, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 97.09 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005261, allocations: 15.48 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2422, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.724/5.966, allocations: 2.082 GB / 3.062 GB, free: 198.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.966, allocations: 94.27 kB / 3.062 GB, free: 198.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.708/9.675, allocations: 0.9173 GB / 3.979 GB, free: 147.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.356e-06/9.675, allocations: 0.5 kB / 3.979 GB, free: 147.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002882/9.675, allocations: 36.22 kB / 3.979 GB, free: 147.9 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.006671/9.682, allocations: 1.746 MB / 3.981 GB, free: 147.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/9.682, allocations: 8.344 kB / 3.981 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004429/9.682, allocations: 135.8 kB / 3.981 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/9.686, allocations: 409.2 kB / 3.981 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/9.689, allocations: 1.07 MB / 3.982 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/9.689, allocations: 68.41 kB / 3.983 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/9.689, allocations: 90.67 kB / 3.983 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/9.691, allocations: 0.8402 MB / 3.983 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/9.691, allocations: 0 / 3.983 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/9.691, allocations: 35.28 kB / 3.983 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/9.691, allocations: 31.17 kB / 3.984 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/9.693, allocations: 0.7885 MB / 3.984 GB, free: 147 MB / 0.948 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.006365/9.699, allocations: 3.666 MB / 3.988 GB, free: 145.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/9.701, allocations: 1.101 MB / 3.989 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/9.702, allocations: 399.4 kB / 3.989 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/9.702, allocations: 44.58 kB / 3.989 GB, free: 144.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.896e-06/9.702, allocations: 0 / 3.989 GB, free: 144.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.00274/9.704, allocations: 1.007 MB / 3.99 GB, free: 144.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/9.704, allocations: 62.36 kB / 3.99 GB, free: 144.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/9.706, allocations: 0.7221 MB / 3.991 GB, free: 144.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/9.706, allocations: 37.48 kB / 3.991 GB, free: 144.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/9.706, allocations: 479 kB / 3.992 GB, free: 143.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/9.706, allocations: 221.5 kB / 3.992 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/9.706, allocations: 10.06 kB / 3.992 GB, free: 143.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/9.707, allocations: 326.5 kB / 3.992 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/9.707, allocations: 265.5 kB / 3.992 GB, free: 143.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/9.708, allocations: 408.9 kB / 3.993 GB, free: 143.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/9.708, allocations: 318.6 kB / 3.993 GB, free: 143.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/9.708, allocations: 5.094 kB / 3.993 GB, free: 143.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001636/9.71, allocations: 0.7583 MB / 3.994 GB, free: 143.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/9.71, allocations: 462.3 kB / 3.994 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/9.71, allocations: 5.062 kB / 3.994 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/9.71, allocations: 3.844 kB / 3.994 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/9.711, allocations: 134.3 kB / 3.994 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/9.711, allocations: 8.297 kB / 3.994 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/9.712, allocations: 126.5 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/9.712, allocations: 28.62 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/9.712, allocations: 4 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/9.714, allocations: 0.6439 MB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/9.714, allocations: 1.125 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/9.714, allocations: 3.5 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/9.714, allocations: 133.7 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/9.714, allocations: 3.125 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/9.716, allocations: 133.4 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/9.716, allocations: 22.28 kB / 3.995 GB, free: 142.8 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 () * Number of clocked 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.0008529/9.717, allocations: 387.8 kB / 3.996 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/9.717, allocations: 99.88 kB / 3.996 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/9.719, allocations: 0.8035 MB / 3.997 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/9.719, allocations: 6.969 kB / 3.997 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/9.719, allocations: 0.6094 kB / 3.997 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/9.72, allocations: 0.953 MB / 3.998 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/9.726, allocations: 2.259 MB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/9.726, allocations: 4.125 kB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/9.727, allocations: 152.5 kB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/9.727, allocations: 10.06 kB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/9.727, allocations: 18.19 kB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/9.727, allocations: 8.359 kB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/9.727, allocations: 4.625 kB / 4 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/9.73, allocations: 1.44 MB / 4.001 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/9.73, allocations: 259.2 kB / 4.002 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/9.731, allocations: 18.05 kB / 4.002 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/9.732, allocations: 127.7 kB / 4.002 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/9.732, allocations: 55.62 kB / 4.002 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/9.732, allocations: 25.27 kB / 4.002 GB, free: 140.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001277/9.733, allocations: 0.5713 MB / 4.002 GB, free: 140.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/9.733, allocations: 0 / 4.002 GB, free: 140.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003592/9.737, allocations: 0.7652 MB / 4.003 GB, free: 140.6 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 () * Number of clocked 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.008142/9.745, allocations: 5.092 MB / 4.008 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002704/9.748, allocations: 0.9771 MB / 4.009 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/9.748, allocations: 1.125 kB / 4.009 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007867/9.749, allocations: 355.2 kB / 4.009 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/9.753, allocations: 0.6808 MB / 4.01 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/9.766, allocations: 6.848 MB / 4.017 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/9.767, allocations: 1.15 MB / 4.018 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001656/9.769, allocations: 289 kB / 4.018 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/9.769, allocations: 406.6 kB / 4.019 GB, free: 134.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/9.769, allocations: 0 / 4.019 GB, free: 134.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/9.882, allocations: 63.41 MB / 4.081 GB, free: 133.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/9.883, allocations: 234.2 kB / 4.081 GB, free: 133.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.208/14.09, allocations: 0 / 4.081 GB, free: 133.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)