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.008425/0.008425, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001496/0.001496, allocations: 202 kB / 16.68 MB, free: 5.965 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.829/1.829, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.649/1.649, allocations: 251.7 MB / 0.5094 GB, free: 3.098 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.001766/0.001766, allocations: 74.06 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.268, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.041/1.309, allocations: 240.2 MB / 1.063 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01386/1.323, allocations: 7.267 MB / 1.07 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/1.326, allocations: 47.69 kB / 1.07 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002724/1.329, allocations: 0.6988 MB / 1.07 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007137/1.336, allocations: 2.071 MB / 1.072 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006199/1.342, allocations: 2.057 MB / 1.074 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006034/1.348, allocations: 3.331 MB / 1.078 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.35, allocations: 1.146 MB / 1.079 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/1.355, allocations: 1.81 MB / 1.081 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/1.358, allocations: 0.9688 MB / 1.082 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/1.358, allocations: 124 kB / 1.082 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005762/1.364, allocations: 2.49 MB / 1.084 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005737/1.364, allocations: 470.6 kB / 1.085 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.365, allocations: 0.7272 MB / 1.085 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005533/1.371, allocations: 2.732 MB / 1.088 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.371, allocations: 0 / 1.088 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/1.371, allocations: 0 / 1.088 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.228e-05/1.371, allocations: 0 / 1.088 GB, free: 2.359 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.003334/1.374, allocations: 1.765 MB / 1.09 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.374, allocations: 8.031 kB / 1.09 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/1.377, allocations: 430.8 kB / 1.09 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/1.379, allocations: 1.012 MB / 1.091 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/1.379, allocations: 63.25 kB / 1.091 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.379, allocations: 87.98 kB / 1.091 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.38, allocations: 0.8741 MB / 1.092 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.38, allocations: 0 / 1.092 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/1.381, allocations: 32 kB / 1.092 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/1.381, allocations: 34 kB / 1.092 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/1.382, allocations: 0.8119 MB / 1.093 GB, free: 13.15 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.004658/1.387, allocations: 3.663 MB / 1.097 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.388, allocations: 1.097 MB / 1.098 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/1.389, allocations: 360.1 kB / 1.098 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/1.389, allocations: 404.9 kB / 1.098 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.389, allocations: 47.11 kB / 1.098 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.715e-06/1.389, allocations: 0 / 1.098 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002169/1.392, allocations: 0.9551 MB / 1.099 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.392, allocations: 55.97 kB / 1.099 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/1.393, allocations: 0.8399 MB / 1.1 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/1.393, allocations: 37.7 kB / 1.1 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/1.393, allocations: 488.7 kB / 1.101 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.393, allocations: 226.1 kB / 1.101 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/1.394, allocations: 114.2 kB / 1.101 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.394, allocations: 330 kB / 1.101 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/1.394, allocations: 251 kB / 1.102 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/1.395, allocations: 377.4 kB / 1.102 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/1.396, allocations: 0.5852 MB / 1.102 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.396, allocations: 3.938 kB / 1.102 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001325/1.397, allocations: 0.7288 MB / 1.103 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.397, allocations: 8 kB / 1.103 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.397, allocations: 0 / 1.103 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.397, allocations: 4 kB / 1.103 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/1.398, allocations: 123.8 kB / 1.103 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.398, allocations: 4 kB / 1.103 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/1.399, allocations: 77.95 kB / 1.103 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/1.399, allocations: 20 kB / 1.103 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008657/1.4, allocations: 0.4932 MB / 1.104 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000547/1.4, allocations: 372.2 kB / 1.104 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009746/1.401, allocations: 0.5735 MB / 1.105 GB, free: 320 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/1.401, allocations: 0 / 1.105 GB, free: 320 kB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001267/1.402, allocations: 0.7247 MB / 1.106 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.402, allocations: 4 kB / 1.106 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.402, allocations: 4.125 kB / 1.106 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/1.402, allocations: 8 kB / 1.106 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/1.403, allocations: 119.9 kB / 1.106 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/1.403, allocations: 7.938 kB / 1.106 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/1.404, allocations: 67.67 kB / 1.106 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/1.404, allocations: 24 kB / 1.106 GB, free: 15.36 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.0002472/1.404, allocations: 216.1 kB / 1.106 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/1.404, allocations: 107.3 kB / 1.106 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.406, allocations: 0.7353 MB / 1.107 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.406, allocations: 7.938 kB / 1.107 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.406, allocations: 3.984 kB / 1.107 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/1.407, allocations: 0.8994 MB / 1.108 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/1.41, allocations: 2.247 MB / 1.11 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.41, allocations: 4 kB / 1.11 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/1.411, allocations: 131.9 kB / 1.11 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/1.411, allocations: 8 kB / 1.11 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/1.411, allocations: 16 kB / 1.11 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.411, allocations: 14.66 kB / 1.11 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.411, allocations: 4 kB / 1.11 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.413, allocations: 1.262 MB / 1.111 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/1.413, allocations: 268.3 kB / 1.112 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.413, allocations: 20.12 kB / 1.112 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/1.414, allocations: 42.88 kB / 1.112 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.414, allocations: 60.25 kB / 1.112 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/1.414, allocations: 23.98 kB / 1.112 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008013/1.415, allocations: 0.5823 MB / 1.112 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.415, allocations: 7.938 kB / 1.112 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001259/1.416, allocations: 0.5341 MB / 1.113 GB, free: 7.848 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.0005346/1.417, allocations: 248.7 kB / 1.113 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00171/1.419, allocations: 0.9392 MB / 1.114 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.419, allocations: 4 kB / 1.114 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/1.419, allocations: 330.2 kB / 1.114 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/1.422, allocations: 0.6062 MB / 1.115 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/1.425, allocations: 2.156 MB / 1.117 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/1.426, allocations: 1.128 MB / 1.118 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001006/1.427, allocations: 299.9 kB / 1.118 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/1.427, allocations: 79.44 kB / 1.118 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of SimCode: time 9.02e-07/1.427, allocations: 4 kB / 1.118 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of Templates: time 0.03731/1.464, allocations: 20.65 MB / 1.139 GB, free: 13.66 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)