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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00131/0.00131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002226/0.002226, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.594/1.594, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.715/1.715, allocations: 251.7 MB / 0.5089 GB, free: 3.332 MB / 414.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.002324/0.002324, allocations: 71.89 kB / 0.6217 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6231, allocations: 104.7 MB / 0.724 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9315/1.555, allocations: 237.3 MB / 0.9558 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01503/1.57, allocations: 7.211 MB / 0.9628 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/1.573, allocations: 49.64 kB / 0.9628 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002523/1.575, allocations: 0.6173 MB / 0.9634 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007467/1.583, allocations: 1.946 MB / 0.9653 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005878/1.589, allocations: 1.903 MB / 0.9672 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006214/1.595, allocations: 3.334 MB / 0.9705 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/1.597, allocations: 1.125 MB / 0.9716 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005264/1.602, allocations: 1.801 MB / 0.9733 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/1.605, allocations: 1.031 MB / 0.9743 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/1.605, allocations: 125.5 kB / 0.9744 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005963/1.611, allocations: 2.594 MB / 0.977 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006058/1.612, allocations: 473.7 kB / 0.9774 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/1.613, allocations: 0.7277 MB / 0.9781 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00602/1.619, allocations: 2.853 MB / 0.9809 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.619, allocations: 0 / 0.9809 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/1.619, allocations: 1 kB / 0.9809 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.674e-05/1.619, allocations: 0 / 0.9809 GB, free: 12.27 MB / 0.7169 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.003323/1.623, allocations: 1.717 MB / 0.9826 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.623, allocations: 7.688 kB / 0.9826 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.625, allocations: 433.9 kB / 0.983 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/1.627, allocations: 0.9504 MB / 0.984 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/1.627, allocations: 65 kB / 0.984 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.627, allocations: 82.66 kB / 0.9841 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.629, allocations: 0.8766 MB / 0.9849 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.629, allocations: 0 / 0.9849 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/1.629, allocations: 31.38 kB / 0.985 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/1.629, allocations: 36.5 kB / 0.985 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.63, allocations: 0.8098 MB / 0.9858 GB, free: 10.86 MB / 0.7169 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.004442/1.635, allocations: 3.642 MB / 0.9894 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/1.636, allocations: 1.087 MB / 0.9904 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/1.637, allocations: 365.5 kB / 0.9908 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/1.637, allocations: 408 kB / 0.9912 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.637, allocations: 42.19 kB / 0.9912 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/1.637, allocations: 0.75 kB / 0.9912 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002051/1.639, allocations: 0.9473 MB / 0.9921 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.639, allocations: 61.58 kB / 0.9922 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009966/1.64, allocations: 0.8349 MB / 0.993 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/1.64, allocations: 44.48 kB / 0.993 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/1.641, allocations: 487 kB / 0.9935 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/1.641, allocations: 205.6 kB / 0.9937 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.641, allocations: 118.7 kB / 0.9938 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/1.641, allocations: 333.2 kB / 0.9941 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/1.642, allocations: 249.2 kB / 0.9944 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/1.642, allocations: 371.3 kB / 0.9947 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/1.643, allocations: 0.589 MB / 0.9953 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/1.643, allocations: 0 / 0.9953 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00127/1.644, allocations: 0.7321 MB / 0.996 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.644, allocations: 5.094 kB / 0.996 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.644, allocations: 1.406 kB / 0.996 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.644, allocations: 3.875 kB / 0.996 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/1.645, allocations: 125.5 kB / 0.9961 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/1.645, allocations: 6.938 kB / 0.9962 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.646, allocations: 128.5 kB / 0.9963 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/1.646, allocations: 21.97 kB / 0.9963 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000822/1.647, allocations: 0.4914 MB / 0.9968 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004805/1.648, allocations: 363.1 kB / 0.9971 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008613/1.648, allocations: 0.5743 MB / 0.9977 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/1.648, allocations: 2.812 kB / 0.9977 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001114/1.65, allocations: 0.7179 MB / 0.9984 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/1.65, allocations: 5.875 kB / 0.9984 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/1.65, allocations: 2.375 kB / 0.9984 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/1.65, allocations: 2.281 kB / 0.9984 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/1.65, allocations: 126.6 kB / 0.9985 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.65, allocations: 2.969 kB / 0.9985 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/1.651, allocations: 108.9 kB / 0.9986 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/1.651, allocations: 25.19 kB / 0.9986 GB, free: 3.539 MB / 0.7169 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.0001789/1.651, allocations: 211.7 kB / 0.9988 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/1.651, allocations: 114.2 kB / 0.999 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/1.653, allocations: 0.7478 MB / 0.9997 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.653, allocations: 7.406 kB / 0.9997 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.653, allocations: 0 / 0.9997 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009574/1.654, allocations: 0.8978 MB / 1.001 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.657, allocations: 2.242 MB / 1.003 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.657, allocations: 2.844 kB / 1.003 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.657, allocations: 142.6 kB / 1.003 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.657, allocations: 5.219 kB / 1.003 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/1.657, allocations: 19.55 kB / 1.003 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.657, allocations: 7.875 kB / 1.003 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.657, allocations: 5.719 kB / 1.003 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.659, allocations: 1.248 MB / 1.004 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/1.659, allocations: 270.4 kB / 1.004 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.66, allocations: 17.83 kB / 1.004 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/1.66, allocations: 94.91 kB / 1.005 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.661, allocations: 56.66 kB / 1.005 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/1.661, allocations: 21.16 kB / 1.005 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007683/1.661, allocations: 0.5837 MB / 1.005 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.661, allocations: 0 / 1.005 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001347/1.663, allocations: 0.5357 MB / 1.006 GB, free: 14.95 MB / 0.7325 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.0005565/1.663, allocations: 251.2 kB / 1.006 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.665, allocations: 0.9972 MB / 1.007 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.665, allocations: 0 / 1.007 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/1.666, allocations: 341.4 kB / 1.007 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.668, allocations: 0.6053 MB / 1.008 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/1.672, allocations: 2.548 MB / 1.01 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/1.673, allocations: 1.124 MB / 1.011 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001265/1.674, allocations: 295.9 kB / 1.012 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/1.674, allocations: 87.42 kB / 1.012 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/1.674, allocations: 0 / 1.012 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of Templates: time 0.03783/1.712, allocations: 20.33 MB / 1.032 GB, free: 5.281 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)