Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 285.4 MB / 298 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.8 kB / 366.4 MB, free: 2.066 MB / 298.7 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 / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008212/0.0008211, allocations: 93.59 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.288e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7873, allocations: 115.3 MB / 0.9709 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.48/5.268, allocations: 2.082 GB / 3.053 GB, free: 11.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/5.268, allocations: 88.03 kB / 3.053 GB, free: 11.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.66/8.928, allocations: 0.9165 GB / 3.97 GB, free: 163.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.619e-06/8.928, allocations: 3.422 kB / 3.97 GB, free: 163.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002564/8.928, allocations: 39.78 kB / 3.97 GB, free: 163.1 MB / 0.948 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.006584/8.935, allocations: 1.521 MB / 3.971 GB, free: 162.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/8.935, allocations: 7.219 kB / 3.971 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/8.94, allocations: 416.2 kB / 3.972 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004778/8.945, allocations: 1.064 MB / 3.973 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/8.945, allocations: 69.28 kB / 3.973 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/8.946, allocations: 82.56 kB / 3.973 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/8.948, allocations: 0.7973 MB / 3.974 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/8.948, allocations: 0 / 3.974 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.912e-05/8.948, allocations: 35.47 kB / 3.974 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/8.948, allocations: 30.97 kB / 3.974 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/8.95, allocations: 0.707 MB / 3.974 GB, free: 161.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005784/8.956, allocations: 3.665 MB / 3.978 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/8.957, allocations: 1.059 MB / 3.979 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/8.957, allocations: 338.6 kB / 3.979 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/8.958, allocations: 412.7 kB / 3.98 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/8.958, allocations: 38.5 kB / 3.98 GB, free: 158.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.395e-06/8.958, allocations: 0 / 3.98 GB, free: 158.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001365/8.959, allocations: 0.6739 MB / 3.98 GB, free: 158.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/8.959, allocations: 57.19 kB / 3.98 GB, free: 158.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/8.96, allocations: 0.7147 MB / 3.981 GB, free: 157.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/8.96, allocations: 37.08 kB / 3.981 GB, free: 157.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/8.961, allocations: 478.3 kB / 3.982 GB, free: 157.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/8.961, allocations: 212.8 kB / 3.982 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/8.961, allocations: 8 kB / 3.982 GB, free: 157.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/8.961, allocations: 336.8 kB / 3.982 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/8.961, allocations: 220.5 kB / 3.982 GB, free: 156.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/8.962, allocations: 373.2 kB / 3.983 GB, free: 156.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/8.962, allocations: 284 kB / 3.983 GB, free: 156.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/8.962, allocations: 0 / 3.983 GB, free: 156.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00105/8.963, allocations: 0.6845 MB / 3.984 GB, free: 156.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/8.964, allocations: 460.9 kB / 3.984 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/8.964, allocations: 0 / 3.984 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/8.964, allocations: 7.281 kB / 3.984 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/8.964, allocations: 134.9 kB / 3.984 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/8.964, allocations: 4.531 kB / 3.984 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/8.965, allocations: 130 kB / 3.984 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/8.966, allocations: 26.75 kB / 3.984 GB, free: 155.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/8.966, allocations: 3.219 kB / 3.984 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009138/8.966, allocations: 0.5702 MB / 3.985 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/8.966, allocations: 3.844 kB / 3.985 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/8.966, allocations: 3.188 kB / 3.985 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/8.967, allocations: 136.7 kB / 3.985 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/8.967, allocations: 2.438 kB / 3.985 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008698/8.968, allocations: 127.6 kB / 3.985 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/8.968, allocations: 27.09 kB / 3.985 GB, free: 155.4 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/8.968, allocations: 144 kB / 3.985 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/8.968, allocations: 101.8 kB / 3.985 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/8.97, allocations: 0.7269 MB / 3.986 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/8.97, allocations: 10.67 kB / 3.986 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/8.97, allocations: 7 kB / 3.986 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/8.971, allocations: 0.8723 MB / 3.987 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/8.975, allocations: 2.185 MB / 3.989 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/8.975, allocations: 3.938 kB / 3.989 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/8.976, allocations: 155 kB / 3.989 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/8.976, allocations: 6.594 kB / 3.989 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/8.976, allocations: 26.42 kB / 3.989 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/8.976, allocations: 7.281 kB / 3.989 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/8.976, allocations: 3.844 kB / 3.989 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/8.977, allocations: 1.318 MB / 3.991 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/8.978, allocations: 265.9 kB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/8.978, allocations: 17.75 kB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/8.979, allocations: 125 kB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/8.979, allocations: 58.09 kB / 3.991 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/8.979, allocations: 26.48 kB / 3.991 GB, free: 151.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008083/8.98, allocations: 0.5599 MB / 3.992 GB, free: 151.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.98, allocations: 0 / 3.992 GB, free: 151.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003092/8.983, allocations: 0.7654 MB / 3.992 GB, free: 151.5 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003824/8.987, allocations: 2.31 MB / 3.995 GB, free: 150.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001474/8.988, allocations: 0.9076 MB / 3.995 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/8.988, allocations: 10.5 kB / 3.995 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/8.989, allocations: 317.3 kB / 3.996 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/8.992, allocations: 0.6711 MB / 3.996 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/8.995, allocations: 1.734 MB / 3.998 GB, free: 149.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/8.995, allocations: 1.147 MB / 3.999 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001356/8.997, allocations: 382.8 kB / 4 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/8.997, allocations: 62.81 kB / 4 GB, free: 148.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/8.997, allocations: 0 / 4 GB, free: 148.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07393/9.071, allocations: 53.88 MB / 4.052 GB, free: 102.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)