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.01094/0.01094, allocations: 102.6 kB / 15.73 MB, free: 5.984 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.001362/0.001362, allocations: 198.6 kB / 16.68 MB, free: 5.91 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.79/1.79, allocations: 251.7 MB / 0.5094 GB, free: 2.938 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.001441/0.001441, allocations: 67.91 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.119/1.39, allocations: 240.3 MB / 1.063 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01408/1.404, allocations: 7.251 MB / 1.07 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/1.407, allocations: 51.69 kB / 1.07 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/1.41, allocations: 0.7104 MB / 1.07 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007248/1.417, allocations: 2.073 MB / 1.072 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/1.424, allocations: 2.051 MB / 1.074 GB, free: 156 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006351/1.43, allocations: 3.323 MB / 1.078 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/1.433, allocations: 1.15 MB / 1.079 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/1.438, allocations: 1.81 MB / 1.081 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/1.441, allocations: 0.9778 MB / 1.082 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003718/1.441, allocations: 124 kB / 1.082 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/1.446, allocations: 2.486 MB / 1.084 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000743/1.447, allocations: 470.6 kB / 1.085 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/1.448, allocations: 0.7311 MB / 1.085 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006409/1.455, allocations: 2.71 MB / 1.088 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/1.455, allocations: 0 / 1.088 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/1.455, allocations: 0 / 1.088 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.612e-05/1.455, allocations: 4 kB / 1.088 GB, free: 2.336 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.003489/1.459, allocations: 1.717 MB / 1.09 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.459, allocations: 8.031 kB / 1.09 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/1.461, allocations: 421.9 kB / 1.09 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.464, allocations: 1.022 MB / 1.091 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/1.464, allocations: 58 kB / 1.091 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.464, allocations: 84 kB / 1.091 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.465, allocations: 0.8702 MB / 1.092 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/1.465, allocations: 0 / 1.092 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/1.466, allocations: 36 kB / 1.092 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/1.466, allocations: 34 kB / 1.092 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.467, allocations: 0.808 MB / 1.093 GB, free: 13.18 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.005527/1.473, allocations: 3.646 MB / 1.096 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.474, allocations: 1.091 MB / 1.097 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/1.475, allocations: 368.1 kB / 1.098 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007348/1.476, allocations: 404.9 kB / 1.098 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.476, allocations: 39.12 kB / 1.098 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.075e-06/1.476, allocations: 4 kB / 1.098 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002287/1.478, allocations: 0.9467 MB / 1.099 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.478, allocations: 63.97 kB / 1.099 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.479, allocations: 0.836 MB / 1.1 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.48, allocations: 45.7 kB / 1.1 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/1.48, allocations: 480 kB / 1.101 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/1.48, allocations: 216.9 kB / 1.101 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/1.481, allocations: 114.2 kB / 1.101 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.481, allocations: 330 kB / 1.101 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/1.481, allocations: 254.9 kB / 1.101 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/1.482, allocations: 376.3 kB / 1.102 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.483, allocations: 0.5813 MB / 1.102 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.483, allocations: 7.938 kB / 1.102 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001549/1.485, allocations: 0.7204 MB / 1.103 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/1.485, allocations: 6.656 kB / 1.103 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.485, allocations: 7.984 kB / 1.103 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/1.485, allocations: 4 kB / 1.103 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/1.485, allocations: 127.9 kB / 1.103 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.485, allocations: 4 kB / 1.103 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009702/1.486, allocations: 75.38 kB / 1.103 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.486, allocations: 24 kB / 1.103 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/1.488, allocations: 497 kB / 1.104 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005805/1.488, allocations: 372.2 kB / 1.104 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/1.489, allocations: 0.5774 MB / 1.105 GB, free: 380 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/1.489, allocations: 0 / 1.105 GB, free: 380 kB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001389/1.491, allocations: 0.7165 MB / 1.105 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.491, allocations: 4 kB / 1.105 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.491, allocations: 4 kB / 1.105 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/1.491, allocations: 3.938 kB / 1.105 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/1.491, allocations: 123.9 kB / 1.106 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.491, allocations: 4.562 kB / 1.106 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/1.492, allocations: 68.38 kB / 1.106 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/1.492, allocations: 20 kB / 1.106 GB, free: 15.43 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.0003398/1.493, allocations: 216.1 kB / 1.106 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/1.493, allocations: 98.78 kB / 1.106 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/1.495, allocations: 0.7438 MB / 1.107 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.495, allocations: 8 kB / 1.107 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.495, allocations: 0 / 1.107 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/1.496, allocations: 0.8917 MB / 1.108 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/1.499, allocations: 2.247 MB / 1.11 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.499, allocations: 4 kB / 1.11 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/1.5, allocations: 140.2 kB / 1.11 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.5, allocations: 8 kB / 1.11 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/1.5, allocations: 16 kB / 1.11 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/1.5, allocations: 10.05 kB / 1.11 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.5, allocations: 7.984 kB / 1.11 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.502, allocations: 1.25 MB / 1.111 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/1.503, allocations: 267.7 kB / 1.111 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.503, allocations: 16 kB / 1.111 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/1.504, allocations: 46.88 kB / 1.111 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.504, allocations: 52.25 kB / 1.112 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/1.504, allocations: 28.69 kB / 1.112 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008332/1.505, allocations: 0.5861 MB / 1.112 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.505, allocations: 0 / 1.112 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001404/1.506, allocations: 0.5455 MB / 1.113 GB, free: 7.938 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.0005864/1.507, allocations: 243.2 kB / 1.113 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001861/1.508, allocations: 0.9349 MB / 1.114 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.508, allocations: 0 / 1.114 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/1.509, allocations: 339.5 kB / 1.114 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.512, allocations: 0.6002 MB / 1.115 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/1.515, allocations: 2.121 MB / 1.117 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.516, allocations: 1.128 MB / 1.118 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009621/1.517, allocations: 299.9 kB / 1.118 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.517, allocations: 79.44 kB / 1.118 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of SimCode: time 1.162e-06/1.517, allocations: 0 / 1.118 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of Templates: time 0.03811/1.555, allocations: 20.66 MB / 1.138 GB, free: 13.79 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)