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.007279/0.007279, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001475/0.001475, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.713/1.713, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001405/0.001405, allocations: 71.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.043/1.324, allocations: 240.2 MB / 1.063 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01626/1.341, allocations: 7.267 MB / 1.07 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/1.344, allocations: 47.69 kB / 1.07 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00332/1.347, allocations: 0.7183 MB / 1.07 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007984/1.355, allocations: 2.162 MB / 1.073 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006655/1.362, allocations: 2.092 MB / 1.075 GB, free: 40 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006117/1.368, allocations: 3.332 MB / 1.078 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/1.371, allocations: 1.155 MB / 1.079 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005624/1.376, allocations: 1.872 MB / 1.081 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/1.379, allocations: 0.9714 MB / 1.082 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006495/1.38, allocations: 124 kB / 1.082 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/1.387, allocations: 2.498 MB / 1.084 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009136/1.388, allocations: 474.6 kB / 1.085 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002326/1.39, allocations: 0.7233 MB / 1.086 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008541/1.398, allocations: 2.718 MB / 1.088 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.399, allocations: 0 / 1.088 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/1.399, allocations: 0 / 1.088 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.576e-05/1.399, allocations: 0 / 1.088 GB, free: 2.137 MB / 0.8262 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.00316/1.402, allocations: 1.713 MB / 1.09 GB, free: 380 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.402, allocations: 16.02 kB / 1.09 GB, free: 364 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/1.404, allocations: 422 kB / 1.09 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/1.406, allocations: 1.01 MB / 1.091 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/1.406, allocations: 66 kB / 1.091 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/1.407, allocations: 84 kB / 1.091 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.408, allocations: 0.8741 MB / 1.092 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/1.408, allocations: 0 / 1.092 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/1.408, allocations: 32 kB / 1.092 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/1.408, allocations: 26 kB / 1.092 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/1.41, allocations: 0.812 MB / 1.093 GB, free: 12.99 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.005473/1.416, allocations: 3.662 MB / 1.097 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.417, allocations: 1.087 MB / 1.098 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/1.418, allocations: 364.1 kB / 1.098 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/1.418, allocations: 404.9 kB / 1.098 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.419, allocations: 47.11 kB / 1.099 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/1.419, allocations: 0 / 1.099 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002177/1.421, allocations: 0.9467 MB / 1.099 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/1.421, allocations: 55.97 kB / 1.099 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.422, allocations: 0.8399 MB / 1.1 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/1.422, allocations: 37.7 kB / 1.1 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/1.423, allocations: 484 kB / 1.101 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/1.423, allocations: 216.9 kB / 1.101 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.423, allocations: 114.2 kB / 1.101 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.423, allocations: 330 kB / 1.101 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/1.424, allocations: 251 kB / 1.102 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/1.424, allocations: 376.2 kB / 1.102 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/1.426, allocations: 0.5813 MB / 1.103 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.426, allocations: 7.875 kB / 1.103 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001453/1.427, allocations: 0.7322 MB / 1.103 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.427, allocations: 4 kB / 1.103 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.427, allocations: 0 / 1.103 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/1.427, allocations: 4 kB / 1.103 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/1.428, allocations: 127.8 kB / 1.103 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.428, allocations: 4 kB / 1.103 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/1.428, allocations: 71.48 kB / 1.104 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/1.429, allocations: 24 kB / 1.104 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008133/1.429, allocations: 0.4909 MB / 1.104 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005881/1.43, allocations: 372.2 kB / 1.104 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001051/1.431, allocations: 0.5735 MB / 1.105 GB, free: 184 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.431, allocations: 0 / 1.105 GB, free: 184 kB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001443/1.433, allocations: 0.7165 MB / 1.106 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.433, allocations: 10.81 kB / 1.106 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.433, allocations: 4.125 kB / 1.106 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/1.433, allocations: 4 kB / 1.106 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/1.433, allocations: 119.9 kB / 1.106 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.433, allocations: 7.938 kB / 1.106 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008353/1.434, allocations: 64.53 kB / 1.106 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/1.434, allocations: 25 kB / 1.106 GB, free: 15.23 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.0002455/1.434, allocations: 212.1 kB / 1.106 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/1.435, allocations: 106.8 kB / 1.106 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/1.436, allocations: 0.7328 MB / 1.107 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.436, allocations: 4 kB / 1.107 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.436, allocations: 4 kB / 1.107 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/1.437, allocations: 0.9033 MB / 1.108 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/1.441, allocations: 2.247 MB / 1.11 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.441, allocations: 4 kB / 1.11 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/1.442, allocations: 135.9 kB / 1.11 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/1.442, allocations: 4 kB / 1.11 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/1.442, allocations: 16 kB / 1.11 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/1.442, allocations: 18.03 kB / 1.11 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.442, allocations: 4 kB / 1.11 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.444, allocations: 1.254 MB / 1.111 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/1.444, allocations: 267.7 kB / 1.112 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.445, allocations: 12 kB / 1.112 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/1.445, allocations: 46.81 kB / 1.112 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.446, allocations: 60.25 kB / 1.112 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/1.446, allocations: 20 kB / 1.112 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001107/1.447, allocations: 0.5862 MB / 1.112 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.447, allocations: 0 / 1.112 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001564/1.448, allocations: 0.5377 MB / 1.113 GB, free: 7.746 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.0006051/1.449, allocations: 252.2 kB / 1.113 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.451, allocations: 0.9392 MB / 1.114 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.451, allocations: 0 / 1.114 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/1.451, allocations: 334.2 kB / 1.114 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.454, allocations: 0.5988 MB / 1.115 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/1.458, allocations: 2.122 MB / 1.117 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008967/1.459, allocations: 1.128 MB / 1.118 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001059/1.46, allocations: 295.9 kB / 1.118 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/1.46, allocations: 79.44 kB / 1.118 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/1.46, allocations: 0 / 1.118 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of Templates: time 0.03789/1.498, allocations: 20.66 MB / 1.139 GB, free: 13.59 MB / 0.8887 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)