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.941/1.941, allocations: 288.3 MB / 303.2 MB, free: 8.102 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.001087/0.001087, allocations: 184 kB / 371.8 MB, free: 10.29 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.76/1.76, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.84 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.000522, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2961, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8153/1.111, allocations: 196.6 MB / 1.171 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01556/1.127, allocations: 7.173 MB / 1.178 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/1.129, allocations: 40.91 kB / 1.178 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/1.133, allocations: 0.6647 MB / 1.179 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007952/1.14, allocations: 1.913 MB / 1.181 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00598/1.146, allocations: 1.601 MB / 1.183 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005915/1.152, allocations: 1.868 MB / 1.184 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/1.156, allocations: 0.8311 MB / 1.185 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006121/1.162, allocations: 1.413 MB / 1.187 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/1.165, allocations: 0.6075 MB / 1.187 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006797/1.165, allocations: 48.94 kB / 1.187 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004983/1.171, allocations: 1.063 MB / 1.188 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009222/1.171, allocations: 351.1 kB / 1.189 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/1.173, allocations: 286 kB / 1.189 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003765/1.176, allocations: 1.614 MB / 1.19 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.176, allocations: 0 / 1.19 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.424e-06/1.176, allocations: 0 / 1.19 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001015/1.177, allocations: 0 / 1.19 GB, free: 10.59 MB / 0.7292 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.003733/1.18, allocations: 1.432 MB / 1.192 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.18, allocations: 11.53 kB / 1.192 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/1.183, allocations: 439.9 kB / 1.192 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/1.186, allocations: 0.9084 MB / 1.193 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/1.186, allocations: 64.08 kB / 1.193 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/1.187, allocations: 85.03 kB / 1.193 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.189, allocations: 0.859 MB / 1.194 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/1.189, allocations: 7.938 kB / 1.194 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.189, allocations: 32.31 kB / 1.194 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/1.189, allocations: 27.25 kB / 1.194 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.191, allocations: 0.8225 MB / 1.195 GB, free: 7.602 MB / 0.7292 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.006323/1.197, allocations: 3.633 MB / 1.198 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.199, allocations: 1.121 MB / 1.2 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/1.199, allocations: 146 kB / 1.2 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.199, allocations: 48.38 kB / 1.2 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/1.199, allocations: 0 / 1.2 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.002445/1.202, allocations: 0.9846 MB / 1.201 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.202, allocations: 67.38 kB / 1.201 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.203, allocations: 0.8204 MB / 1.202 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/1.203, allocations: 39.33 kB / 1.202 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/1.204, allocations: 477.7 kB / 1.202 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/1.204, allocations: 211.1 kB / 1.202 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/1.204, allocations: 8 kB / 1.202 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.204, allocations: 333.4 kB / 1.203 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/1.205, allocations: 254.8 kB / 1.203 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/1.206, allocations: 376.9 kB / 1.203 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/1.206, allocations: 300.4 kB / 1.204 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.206, allocations: 0 / 1.204 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001446/1.208, allocations: 0.7426 MB / 1.204 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/1.208, allocations: 456.4 kB / 1.205 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.208, allocations: 6.469 kB / 1.205 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.208, allocations: 2.406 kB / 1.205 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/1.209, allocations: 135.6 kB / 1.205 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.209, allocations: 6.797 kB / 1.205 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.21, allocations: 124.8 kB / 1.205 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/1.21, allocations: 20.19 kB / 1.205 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.21, allocations: 5.688 kB / 1.205 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/1.211, allocations: 0.6271 MB / 1.206 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/1.211, allocations: 2.5 kB / 1.206 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.211, allocations: 8.781 kB / 1.206 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/1.212, allocations: 128.4 kB / 1.206 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/1.212, allocations: 7.188 kB / 1.206 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.213, allocations: 124.1 kB / 1.206 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/1.213, allocations: 27.89 kB / 1.206 GB, free: 15.55 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006974/1.213, allocations: 385.1 kB / 1.206 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/1.214, allocations: 100.1 kB / 1.206 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/1.215, allocations: 0.7569 MB / 1.207 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.215, allocations: 8 kB / 1.207 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.215, allocations: 4 kB / 1.207 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/1.217, allocations: 0.9228 MB / 1.208 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/1.222, allocations: 2.255 MB / 1.21 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.222, allocations: 4 kB / 1.21 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/1.222, allocations: 144.2 kB / 1.21 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/1.222, allocations: 11.95 kB / 1.21 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/1.222, allocations: 16 kB / 1.21 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.222, allocations: 4 kB / 1.21 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.222, allocations: 4 kB / 1.21 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/1.225, allocations: 1.44 MB / 1.212 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/1.226, allocations: 267.7 kB / 1.212 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.226, allocations: 16 kB / 1.212 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.228, allocations: 103.9 kB / 1.212 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/1.228, allocations: 44.34 kB / 1.212 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/1.228, allocations: 35.92 kB / 1.212 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001336/1.229, allocations: 0.5704 MB / 1.213 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/1.229, allocations: 0 / 1.213 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002138/1.231, allocations: 0.5299 MB / 1.213 GB, free: 7.895 MB / 0.7448 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 (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.0006553/1.232, allocations: 247.4 kB / 1.214 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002141/1.234, allocations: 0.9588 MB / 1.214 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.234, allocations: 0 / 1.214 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/1.235, allocations: 351.1 kB / 1.215 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.238, allocations: 0.6016 MB / 1.215 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/1.242, allocations: 2.602 MB / 1.218 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.244, allocations: 1.147 MB / 1.219 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001529/1.245, allocations: 300.1 kB / 1.219 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/1.245, allocations: 75.44 kB / 1.219 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of SimCode: time 2.134e-06/1.245, allocations: 0 / 1.219 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.03571/1.281, allocations: 19.09 MB / 1.238 GB, free: 14.67 MB / 0.7761 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)