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.00163/0.001637, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002254/0.002254, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.531/1.531, allocations: 205.1 MB / 222 MB, free: 5.012 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.704/1.704, allocations: 251.6 MB / 0.5088 GB, free: 3.367 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.001292/0.001292, allocations: 64.34 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5569, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9164/1.473, allocations: 238.1 MB / 0.9563 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01279/1.486, allocations: 7.34 MB / 0.9635 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003256/1.49, allocations: 46.75 kB / 0.9635 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/1.492, allocations: 0.581 MB / 0.9641 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007343/1.499, allocations: 1.964 MB / 0.966 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005778/1.505, allocations: 1.872 MB / 0.9678 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006959/1.512, allocations: 4.497 MB / 0.9722 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.514, allocations: 0.9567 MB / 0.9732 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/1.519, allocations: 1.613 MB / 0.9747 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/1.523, allocations: 0.9994 MB / 0.9757 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003447/1.523, allocations: 60.94 kB / 0.9758 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00829/1.531, allocations: 2.838 MB / 0.9785 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/1.532, allocations: 413.8 kB / 0.9789 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/1.534, allocations: 0.6604 MB / 0.9796 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007146/1.541, allocations: 2.805 MB / 0.9823 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/1.541, allocations: 2.859 kB / 0.9823 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/1.541, allocations: 0 / 0.9823 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.698e-05/1.541, allocations: 0 / 0.9823 GB, free: 12.02 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.003674/1.545, allocations: 1.717 MB / 0.984 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.545, allocations: 10.97 kB / 0.984 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/1.548, allocations: 427.3 kB / 0.9844 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/1.55, allocations: 0.9518 MB / 0.9854 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/1.55, allocations: 63.03 kB / 0.9854 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/1.55, allocations: 85.22 kB / 0.9855 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.552, allocations: 0.8774 MB / 0.9863 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.552, allocations: 0 / 0.9863 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/1.552, allocations: 33.22 kB / 0.9864 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/1.552, allocations: 32.5 kB / 0.9864 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/1.554, allocations: 0.8043 MB / 0.9872 GB, free: 10.59 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.004657/1.558, allocations: 3.646 MB / 0.9908 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.56, allocations: 1.086 MB / 0.9918 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/1.56, allocations: 363.4 kB / 0.9922 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/1.561, allocations: 408.7 kB / 0.9926 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.561, allocations: 44.56 kB / 0.9926 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.916e-06/1.561, allocations: 0 / 0.9926 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002157/1.563, allocations: 0.9499 MB / 0.9935 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.563, allocations: 59.94 kB / 0.9936 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.564, allocations: 0.8367 MB / 0.9944 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/1.564, allocations: 38.2 kB / 0.9944 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/1.565, allocations: 493.9 kB / 0.9949 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/1.565, allocations: 208.5 kB / 0.9951 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/1.565, allocations: 112.3 kB / 0.9952 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/1.565, allocations: 332.4 kB / 0.9955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/1.566, allocations: 245.8 kB / 0.9958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/1.566, allocations: 371 kB / 0.9961 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/1.567, allocations: 0.5907 MB / 0.9967 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.567, allocations: 0 / 0.9967 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/1.569, allocations: 0.7249 MB / 0.9974 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.569, allocations: 5.344 kB / 0.9974 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.569, allocations: 3.938 kB / 0.9974 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.569, allocations: 6.188 kB / 0.9974 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/1.569, allocations: 128.1 kB / 0.9975 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.569, allocations: 8.375 kB / 0.9975 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.57, allocations: 128.7 kB / 0.9977 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/1.57, allocations: 20.19 kB / 0.9977 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008407/1.571, allocations: 0.4914 MB / 0.9982 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005559/1.572, allocations: 365.5 kB / 0.9985 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009264/1.573, allocations: 0.582 MB / 0.9991 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/1.573, allocations: 0 / 0.9991 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001217/1.574, allocations: 0.7149 MB / 0.9998 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.574, allocations: 5.25 kB / 0.9998 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.574, allocations: 3.984 kB / 0.9998 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/1.574, allocations: 5.531 kB / 0.9998 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/1.575, allocations: 124.2 kB / 0.9999 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.575, allocations: 2.469 kB / 0.9999 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.576, allocations: 110.8 kB / 1 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/1.576, allocations: 25.03 kB / 1 GB, free: 2.168 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.0002395/1.576, allocations: 212.3 kB / 1 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/1.576, allocations: 103.5 kB / 1 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/1.577, allocations: 0.7485 MB / 1.001 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.577, allocations: 6.469 kB / 1.001 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.577, allocations: 3.938 kB / 1.001 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/1.578, allocations: 0.8973 MB / 1.002 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.582, allocations: 2.24 MB / 1.004 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.582, allocations: 2.938 kB / 1.004 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/1.583, allocations: 134.7 kB / 1.004 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.583, allocations: 7.656 kB / 1.004 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/1.583, allocations: 19.84 kB / 1.004 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/1.583, allocations: 11.58 kB / 1.004 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.583, allocations: 7.25 kB / 1.004 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.585, allocations: 1.244 MB / 1.006 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/1.585, allocations: 274.5 kB / 1.006 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.585, allocations: 16.06 kB / 1.006 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/1.586, allocations: 99.8 kB / 1.006 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.586, allocations: 57.02 kB / 1.006 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/1.586, allocations: 24.42 kB / 1.006 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008277/1.587, allocations: 0.5878 MB / 1.007 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.587, allocations: 0 / 1.007 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001546/1.589, allocations: 0.5338 MB / 1.007 GB, free: 13.01 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.0006745/1.59, allocations: 239.7 kB / 1.007 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.591, allocations: 0.9344 MB / 1.008 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.591, allocations: 0 / 1.008 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/1.592, allocations: 341.2 kB / 1.009 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.595, allocations: 0.6237 MB / 1.009 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/1.599, allocations: 2.529 MB / 1.012 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/1.6, allocations: 1.132 MB / 1.013 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001465/1.601, allocations: 296.1 kB / 1.013 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/1.602, allocations: 87.42 kB / 1.013 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.602, allocations: 0 / 1.013 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of Templates: time 0.03833/1.64, allocations: 19.92 MB / 1.033 GB, free: 3.266 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)