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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 108.2 kB / 16.36 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 190 kB / 17.3 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6776/0.9168, allocations: 239.9 MB / 1.019 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.9286, allocations: 7.135 MB / 1.026 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.9308, allocations: 51.69 kB / 1.026 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.9332, allocations: 0.7027 MB / 1.027 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007001/0.9402, allocations: 2.062 MB / 1.029 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006079/0.9463, allocations: 2.025 MB / 1.031 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00587/0.9522, allocations: 3.25 MB / 1.034 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.9542, allocations: 1.135 MB / 1.035 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004867/0.9591, allocations: 1.794 MB / 1.037 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.9613, allocations: 0.9517 MB / 1.038 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.9616, allocations: 120 kB / 1.038 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005259/0.9668, allocations: 2.494 MB / 1.04 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006539/0.9675, allocations: 462.7 kB / 1.041 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.9687, allocations: 0.7194 MB / 1.041 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005013/0.9737, allocations: 2.676 MB / 1.044 GB, free: 332 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.9737, allocations: 7.938 kB / 1.044 GB, free: 324 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9737, allocations: 0 / 1.044 GB, free: 324 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.651e-05/0.9738, allocations: 0 / 1.044 GB, free: 324 kB / 0.8262 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.003076/0.9768, allocations: 1.7 MB / 1.046 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9769, allocations: 12.03 kB / 1.046 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.9796, allocations: 427.9 kB / 1.046 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.9814, allocations: 0.956 MB / 1.047 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.9814, allocations: 61.98 kB / 1.047 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.9816, allocations: 84 kB / 1.047 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.9832, allocations: 0.8663 MB / 1.048 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.9832, allocations: 0 / 1.048 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.9833, allocations: 32 kB / 1.048 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.9833, allocations: 30 kB / 1.048 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.9849, allocations: 0.8042 MB / 1.049 GB, free: 11.25 MB / 0.8419 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.005153/0.99, allocations: 3.627 MB / 1.052 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.9918, allocations: 1.096 MB / 1.053 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.9924, allocations: 372.7 kB / 1.054 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/0.9932, allocations: 408.9 kB / 1.054 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.9932, allocations: 39.12 kB / 1.054 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.346e-06/0.9932, allocations: 0 / 1.054 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002175/0.9954, allocations: 0.9584 MB / 1.055 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.9955, allocations: 55.97 kB / 1.055 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.9965, allocations: 0.8394 MB / 1.056 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.9966, allocations: 45.64 kB / 1.056 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.997, allocations: 476.1 kB / 1.057 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.9972, allocations: 212.9 kB / 1.057 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.9974, allocations: 118.1 kB / 1.057 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9975, allocations: 326 kB / 1.057 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.998, allocations: 255 kB / 1.057 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.9986, allocations: 368.3 kB / 1.058 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.9996, allocations: 0.593 MB / 1.058 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9996, allocations: 0 / 1.058 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001301/1.001, allocations: 0.732 MB / 1.059 GB, free: 172 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.001, allocations: 4.938 kB / 1.059 GB, free: 168 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.001, allocations: 1.938 kB / 1.059 GB, free: 168 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.001, allocations: 7.984 kB / 1.059 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/1.002, allocations: 127.9 kB / 1.059 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.002, allocations: 8 kB / 1.059 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/1.002, allocations: 71.39 kB / 1.059 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/1.002, allocations: 24 kB / 1.059 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000821/1.003, allocations: 493 kB / 1.06 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005555/1.004, allocations: 372.8 kB / 1.06 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009696/1.005, allocations: 0.5813 MB / 1.061 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/1.005, allocations: 0 / 1.061 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001254/1.006, allocations: 0.7204 MB / 1.061 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.006, allocations: 8 kB / 1.061 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/1.006, allocations: 0 / 1.061 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/1.006, allocations: 4 kB / 1.061 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/1.007, allocations: 127.8 kB / 1.062 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.007, allocations: 4 kB / 1.062 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/1.007, allocations: 72.14 kB / 1.062 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/1.007, allocations: 20 kB / 1.062 GB, free: 13.49 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/1.008, allocations: 212.1 kB / 1.062 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.008, allocations: 110.7 kB / 1.062 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.009, allocations: 0.7344 MB / 1.063 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.009, allocations: 12 kB / 1.063 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.009, allocations: 0 / 1.063 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/1.01, allocations: 0.9034 MB / 1.064 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/1.014, allocations: 2.245 MB / 1.066 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.014, allocations: 0 / 1.066 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/1.015, allocations: 139.8 kB / 1.066 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.015, allocations: 4.406 kB / 1.066 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/1.015, allocations: 20 kB / 1.066 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.889e-05/1.015, allocations: 11.94 kB / 1.066 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.015, allocations: 4 kB / 1.066 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.017, allocations: 1.261 MB / 1.067 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/1.017, allocations: 255.8 kB / 1.067 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.017, allocations: 19.94 kB / 1.067 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/1.018, allocations: 47.86 kB / 1.067 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.018, allocations: 48.27 kB / 1.067 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/1.018, allocations: 26.42 kB / 1.068 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008225/1.019, allocations: 0.5782 MB / 1.068 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/1.019, allocations: 0 / 1.068 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001296/1.02, allocations: 0.5338 MB / 1.069 GB, free: 6.02 MB / 0.8575 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005904/1.021, allocations: 243.1 kB / 1.069 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001847/1.023, allocations: 0.9506 MB / 1.07 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.023, allocations: 0 / 1.07 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/1.023, allocations: 343.3 kB / 1.07 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.026, allocations: 0.5949 MB / 1.071 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/1.029, allocations: 2.116 MB / 1.073 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/1.03, allocations: 1.116 MB / 1.074 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001034/1.031, allocations: 304.5 kB / 1.074 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/1.031, allocations: 75.44 kB / 1.074 GB, free: 284 kB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/1.031, allocations: 0 / 1.074 GB, free: 284 kB / 0.8575 GB Notification: Performance of Templates: time 0.03404/1.065, allocations: 20.39 MB / 1.094 GB, free: 12.3 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)