Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.565/1.565, allocations: 249.3 MB / 261.8 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 182.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0009278/0.000928, allocations: 86.53 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.868e-05/4.87e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.526/5.76, allocations: 2.2 GB / 3.092 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/5.76, allocations: 91.05 kB / 3.092 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.13/8.89, allocations: 0.8892 GB / 3.982 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/8.89, allocations: 0 / 3.982 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001078/8.89, allocations: 35.47 kB / 3.982 GB, free: 139.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003283/8.893, allocations: 1.532 MB / 3.983 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/8.893, allocations: 14.62 kB / 3.983 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/8.893, allocations: 128.2 kB / 3.983 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/8.896, allocations: 416.5 kB / 3.984 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/8.899, allocations: 1.062 MB / 3.985 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/8.899, allocations: 63.34 kB / 3.985 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/8.899, allocations: 102.2 kB / 3.985 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/8.901, allocations: 0.7987 MB / 3.986 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/8.901, allocations: 2.578 kB / 3.986 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/8.901, allocations: 32.5 kB / 3.986 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/8.901, allocations: 27.86 kB / 3.986 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/8.902, allocations: 0.7218 MB / 3.986 GB, free: 138.2 MB / 0.8855 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.005522/8.908, allocations: 3.673 MB / 3.99 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/8.909, allocations: 1.066 MB / 3.991 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/8.909, allocations: 342 kB / 3.991 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/8.91, allocations: 402.8 kB / 3.992 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/8.91, allocations: 40.66 kB / 3.992 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/8.91, allocations: 0 / 3.992 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001393/8.911, allocations: 0.6668 MB / 3.992 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/8.911, allocations: 64.34 kB / 3.992 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/8.912, allocations: 0.7113 MB / 3.993 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/8.912, allocations: 39.17 kB / 3.993 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/8.913, allocations: 477.2 kB / 3.994 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/8.913, allocations: 221.6 kB / 3.994 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/8.913, allocations: 10.81 kB / 3.994 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/8.913, allocations: 328.9 kB / 3.994 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/8.913, allocations: 221 kB / 3.994 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/8.914, allocations: 369.1 kB / 3.995 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/8.914, allocations: 278.8 kB / 3.995 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/8.914, allocations: 1.906 kB / 3.995 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009532/8.915, allocations: 0.6944 MB / 3.996 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/8.915, allocations: 455.9 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/8.915, allocations: 0 / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/8.915, allocations: 3.719 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/8.916, allocations: 134 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/8.916, allocations: 8.812 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/8.917, allocations: 132.9 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/8.917, allocations: 26.75 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/8.917, allocations: 3.906 kB / 3.996 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008291/8.918, allocations: 0.5632 MB / 3.997 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/8.918, allocations: 0 / 3.997 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/8.918, allocations: 3.938 kB / 3.997 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/8.919, allocations: 135.3 kB / 3.997 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/8.919, allocations: 3.562 kB / 3.997 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/8.919, allocations: 131.1 kB / 3.997 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/8.919, allocations: 21.56 kB / 3.997 GB, free: 134 MB / 0.8855 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.0001371/8.92, allocations: 144.6 kB / 3.997 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/8.92, allocations: 104.7 kB / 3.998 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/8.921, allocations: 0.7229 MB / 3.998 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/8.921, allocations: 7.812 kB / 3.998 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/8.921, allocations: 0 / 3.998 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007692/8.922, allocations: 0.8747 MB / 3.999 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/8.925, allocations: 2.193 MB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/8.925, allocations: 3.625 kB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/8.925, allocations: 160.2 kB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/8.925, allocations: 3.969 kB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/8.925, allocations: 21 kB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/8.925, allocations: 4.438 kB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/8.925, allocations: 5.656 kB / 4.001 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/8.927, allocations: 1.324 MB / 4.003 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/8.927, allocations: 264.4 kB / 4.003 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/8.927, allocations: 19.23 kB / 4.003 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/8.928, allocations: 130.1 kB / 4.003 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/8.928, allocations: 45.42 kB / 4.003 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/8.928, allocations: 31.92 kB / 4.003 GB, free: 132 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006516/8.929, allocations: 0.5603 MB / 4.004 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/8.929, allocations: 0 / 4.004 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002112/8.931, allocations: 0.772 MB / 4.004 GB, free: 131.9 MB / 0.8855 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.004762/8.936, allocations: 4.977 MB / 4.009 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001521/8.938, allocations: 0.8981 MB / 4.01 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/8.938, allocations: 0 / 4.01 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/8.938, allocations: 316.3 kB / 4.011 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/8.942, allocations: 0.6708 MB / 4.011 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/8.945, allocations: 1.996 MB / 4.013 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/8.945, allocations: 1.15 MB / 4.014 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001473/8.947, allocations: 387.1 kB / 4.015 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/8.947, allocations: 393.9 kB / 4.015 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/8.947, allocations: 0 / 4.015 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/9.048, allocations: 70.86 MB / 4.084 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/9.048, allocations: 207.6 kB / 4.084 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.513/13.56, allocations: 2.516 kB / 4.084 GB, free: 125.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)