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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.553/1.553, allocations: 205.1 MB / 222.4 MB, free: 4.547 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.661/1.661, allocations: 251.7 MB / 0.5092 GB, free: 3.086 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.001516/0.001516, allocations: 67.91 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5904/0.5919, allocations: 104.7 MB / 0.7245 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9168/1.509, allocations: 240.2 MB / 0.9591 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01238/1.521, allocations: 7.255 MB / 0.9662 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/1.524, allocations: 48.44 kB / 0.9662 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/1.527, allocations: 0.7054 MB / 0.9669 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00683/1.534, allocations: 2.076 MB / 0.9689 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006491/1.54, allocations: 2.034 MB / 0.9709 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007301/1.547, allocations: 3.327 MB / 0.9742 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/1.549, allocations: 1.159 MB / 0.9753 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00493/1.554, allocations: 1.806 MB / 0.9771 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/1.557, allocations: 0.9705 MB / 0.978 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/1.557, allocations: 127.7 kB / 0.9781 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006753/1.564, allocations: 2.491 MB / 0.9806 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/1.565, allocations: 462.6 kB / 0.981 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/1.567, allocations: 0.7327 MB / 0.9817 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006236/1.573, allocations: 2.689 MB / 0.9844 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.573, allocations: 2.375 kB / 0.9844 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/1.573, allocations: 0.8125 kB / 0.9844 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.594e-05/1.573, allocations: 0 / 0.9844 GB, free: 12.2 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.002965/1.576, allocations: 1.718 MB / 0.986 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.576, allocations: 8.125 kB / 0.9861 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/1.579, allocations: 427.6 kB / 0.9865 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/1.58, allocations: 0.9521 MB / 0.9874 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/1.58, allocations: 67.94 kB / 0.9875 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.581, allocations: 88.38 kB / 0.9875 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.582, allocations: 0.8677 MB / 0.9884 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/1.582, allocations: 4.906 kB / 0.9884 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/1.582, allocations: 31.34 kB / 0.9884 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/1.582, allocations: 34.95 kB / 0.9885 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/1.584, allocations: 0.8032 MB / 0.9892 GB, free: 10.3 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.004374/1.588, allocations: 3.689 MB / 0.9928 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/1.589, allocations: 1.082 MB / 0.9939 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/1.59, allocations: 372.3 kB / 0.9943 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/1.591, allocations: 408.8 kB / 0.9946 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.591, allocations: 41.31 kB / 0.9947 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/1.591, allocations: 0 / 0.9947 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002045/1.593, allocations: 0.9559 MB / 0.9956 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.593, allocations: 61.97 kB / 0.9957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.594, allocations: 0.8356 MB / 0.9965 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/1.594, allocations: 39.92 kB / 0.9965 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/1.594, allocations: 491.5 kB / 0.997 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.594, allocations: 205.5 kB / 0.9972 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/1.594, allocations: 116.8 kB / 0.9973 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/1.595, allocations: 332.8 kB / 0.9976 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/1.595, allocations: 245.5 kB / 0.9979 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/1.596, allocations: 367.4 kB / 0.9982 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.597, allocations: 0.5929 MB / 0.9988 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.597, allocations: 0 / 0.9988 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001637/1.598, allocations: 0.7202 MB / 0.9995 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.598, allocations: 9.375 kB / 0.9995 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.598, allocations: 2.562 kB / 0.9995 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/1.598, allocations: 13.75 kB / 0.9995 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/1.599, allocations: 122.4 kB / 0.9996 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.599, allocations: 7.484 kB / 0.9996 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/1.6, allocations: 67.16 kB / 0.9997 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/1.6, allocations: 28.36 kB / 0.9997 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009694/1.601, allocations: 0.4928 MB / 1 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005702/1.602, allocations: 364.7 kB / 1.001 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009723/1.603, allocations: 0.5726 MB / 1.001 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/1.603, allocations: 2.594 kB / 1.001 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00127/1.604, allocations: 0.7164 MB / 1.002 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.604, allocations: 9.5 kB / 1.002 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/1.604, allocations: 0 / 1.002 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/1.604, allocations: 3.062 kB / 1.002 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/1.604, allocations: 128.9 kB / 1.002 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.604, allocations: 11.8 kB / 1.002 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/1.605, allocations: 58.81 kB / 1.002 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/1.605, allocations: 27.27 kB / 1.002 GB, free: 2.324 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.0001922/1.606, allocations: 210.5 kB / 1.002 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.606, allocations: 105.1 kB / 1.002 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/1.607, allocations: 0.7335 MB / 1.003 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.607, allocations: 9.156 kB / 1.003 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.607, allocations: 3.984 kB / 1.003 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.608, allocations: 0.8992 MB / 1.004 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/1.612, allocations: 2.242 MB / 1.006 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.612, allocations: 2.531 kB / 1.006 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/1.613, allocations: 138.7 kB / 1.006 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/1.613, allocations: 4.688 kB / 1.006 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/1.613, allocations: 19.95 kB / 1.006 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/1.613, allocations: 8.938 kB / 1.006 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.613, allocations: 6.469 kB / 1.006 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.615, allocations: 1.258 MB / 1.008 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/1.615, allocations: 264.4 kB / 1.008 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.616, allocations: 18.3 kB / 1.008 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/1.616, allocations: 44.02 kB / 1.008 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.616, allocations: 49.08 kB / 1.008 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/1.616, allocations: 27.17 kB / 1.008 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008507/1.617, allocations: 0.5828 MB / 1.009 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.617, allocations: 0 / 1.009 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001608/1.619, allocations: 0.5337 MB / 1.009 GB, free: 13.77 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.000667/1.62, allocations: 255 kB / 1.009 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.622, allocations: 1.006 MB / 1.01 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.622, allocations: 0 / 1.01 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000616/1.622, allocations: 336.3 kB / 1.011 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.625, allocations: 0.608 MB / 1.011 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/1.629, allocations: 2.136 MB / 1.013 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.63, allocations: 1.135 MB / 1.014 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001116/1.632, allocations: 295.9 kB / 1.015 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1.632, allocations: 75.44 kB / 1.015 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/1.632, allocations: 0 / 1.015 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of Templates: time 0.03867/1.67, allocations: 20.53 MB / 1.035 GB, free: 3.781 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)