Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001096/0.001096, allocations: 102.3 kB / 16.36 MB, free: 6.301 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.001045/0.001045, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.649/1.649, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.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.001452/0.001452, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6561/0.894, allocations: 239.9 MB / 1.019 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.9058, allocations: 7.136 MB / 1.026 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.9077, allocations: 51.69 kB / 1.026 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.9098, allocations: 0.6988 MB / 1.027 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.9153, allocations: 2.055 MB / 1.029 GB, free: 8 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.9206, allocations: 2.028 MB / 1.031 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.9262, allocations: 3.249 MB / 1.034 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.9282, allocations: 1.138 MB / 1.035 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004697/0.9329, allocations: 1.786 MB / 1.037 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.9353, allocations: 0.9618 MB / 1.038 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.9356, allocations: 124 kB / 1.038 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.9411, allocations: 2.479 MB / 1.04 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006332/0.9417, allocations: 466.7 kB / 1.041 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.9429, allocations: 0.7233 MB / 1.041 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.9479, allocations: 2.68 MB / 1.044 GB, free: 352 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9479, allocations: 0 / 1.044 GB, free: 352 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9479, allocations: 0 / 1.044 GB, free: 352 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.9479, allocations: 0 / 1.044 GB, free: 352 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003053/0.951, allocations: 1.708 MB / 1.046 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9511, allocations: 8.031 kB / 1.046 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.9537, allocations: 422 kB / 1.046 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.9556, allocations: 1.011 MB / 1.047 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.9557, allocations: 66 kB / 1.047 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.9558, allocations: 83.98 kB / 1.047 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.9575, allocations: 0.8702 MB / 1.048 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.9575, allocations: 0 / 1.048 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.9576, allocations: 31.94 kB / 1.048 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.9576, allocations: 30 kB / 1.048 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.9592, allocations: 0.8042 MB / 1.049 GB, free: 11.22 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.005119/0.9643, allocations: 3.635 MB / 1.052 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9658, allocations: 1.096 MB / 1.054 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.9664, allocations: 368.7 kB / 1.054 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.9672, allocations: 408.9 kB / 1.054 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.9672, allocations: 39.12 kB / 1.054 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 2.866e-06/0.9673, allocations: 0 / 1.054 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002232/0.9695, allocations: 0.9546 MB / 1.055 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.9695, allocations: 55.97 kB / 1.055 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.9707, allocations: 0.8356 MB / 1.056 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.9708, allocations: 41.64 kB / 1.056 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.9712, allocations: 480.1 kB / 1.057 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.9714, allocations: 216.8 kB / 1.057 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.9716, allocations: 114.2 kB / 1.057 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9717, allocations: 326 kB / 1.057 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.9722, allocations: 255 kB / 1.057 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.9728, allocations: 368.3 kB / 1.058 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.9739, allocations: 0.5968 MB / 1.058 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9739, allocations: 1.062 kB / 1.058 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001393/0.9753, allocations: 0.7399 MB / 1.059 GB, free: 128 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9753, allocations: 4 kB / 1.059 GB, free: 124 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9753, allocations: 4 kB / 1.059 GB, free: 120 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.9754, allocations: 0 / 1.059 GB, free: 120 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.9759, allocations: 127.9 kB / 1.059 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.976, allocations: 4 kB / 1.059 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.9767, allocations: 72.56 kB / 1.059 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.9768, allocations: 24 kB / 1.059 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008955/0.9777, allocations: 0.4906 MB / 1.06 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005556/0.9783, allocations: 364.3 kB / 1.06 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001025/0.9793, allocations: 0.5774 MB / 1.061 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.9793, allocations: 3.938 kB / 1.061 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001328/0.9806, allocations: 0.7165 MB / 1.061 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.9807, allocations: 9.25 kB / 1.061 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9807, allocations: 3.984 kB / 1.061 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.9807, allocations: 8.125 kB / 1.061 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.9813, allocations: 127.8 kB / 1.062 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.9813, allocations: 7.984 kB / 1.062 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.9821, allocations: 63.56 kB / 1.062 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.9821, allocations: 23.98 kB / 1.062 GB, free: 13.45 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.0002561/0.9824, allocations: 220 kB / 1.062 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.9826, allocations: 102.8 kB / 1.062 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.9841, allocations: 0.7351 MB / 1.063 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.9841, allocations: 8 kB / 1.063 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.9842, allocations: 6.484 kB / 1.063 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.9854, allocations: 0.8995 MB / 1.064 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/0.9889, allocations: 2.243 MB / 1.066 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.989, allocations: 4 kB / 1.066 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.9896, allocations: 135.8 kB / 1.066 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.9896, allocations: 4 kB / 1.066 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.9897, allocations: 23.98 kB / 1.066 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.9897, allocations: 4 kB / 1.066 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.9897, allocations: 7.938 kB / 1.066 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.9918, allocations: 1.258 MB / 1.067 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.9922, allocations: 259.7 kB / 1.067 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.9924, allocations: 16 kB / 1.067 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000665/0.993, allocations: 39.95 kB / 1.067 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.9932, allocations: 56.25 kB / 1.068 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.9932, allocations: 24 kB / 1.068 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008371/0.9941, allocations: 0.5821 MB / 1.068 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9941, allocations: 0 / 1.068 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001358/0.9954, allocations: 0.5299 MB / 1.069 GB, free: 5.988 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.000566/0.996, allocations: 236.8 kB / 1.069 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.9979, allocations: 0.9431 MB / 1.07 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.9979, allocations: 8.062 kB / 1.07 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.9986, allocations: 342.1 kB / 1.07 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.001, allocations: 0.6115 MB / 1.071 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/1.005, allocations: 2.171 MB / 1.073 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/1.006, allocations: 1.116 MB / 1.074 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/1.006, allocations: 83.42 kB / 1.074 GB, free: 464 kB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/1.006, allocations: 0 / 1.074 GB, free: 464 kB / 0.8575 GB Notification: Performance of Templates: time 0.02879/1.035, allocations: 17.01 MB / 1.091 GB, free: 15.68 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)