Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001445, allocations: 186.9 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7981/0.7981, allocations: 82.92 MB / 99.42 MB, free: 3.281 MB / 74.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 325.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 90.84 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000808/0.0008083, allocations: 16 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1028, allocations: 67.46 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5995/0.7023, allocations: 196.5 MB / 0.7183 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.7167, allocations: 7.169 MB / 0.7253 GB, free: 3.68 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.7183, allocations: 39.69 kB / 0.7253 GB, free: 3.641 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.7207, allocations: 0.665 MB / 0.726 GB, free: 2.973 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.00689/0.7276, allocations: 1.914 MB / 0.7278 GB, free: 1.055 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.005968/0.7336, allocations: 1.606 MB / 0.7294 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004105/0.7377, allocations: 1.869 MB / 0.7312 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.7394, allocations: 0.8315 MB / 0.732 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.7435, allocations: 1.417 MB / 0.7334 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.7448, allocations: 0.6069 MB / 0.734 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.745, allocations: 48 kB / 0.7341 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.7483, allocations: 1.061 MB / 0.7351 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.7489, allocations: 350.9 kB / 0.7354 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005451/0.7495, allocations: 293.1 kB / 0.7357 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.7525, allocations: 1.605 MB / 0.7373 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7525, allocations: 0 / 0.7373 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.984e-06/0.7525, allocations: 0 / 0.7373 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.7525, allocations: 0 / 0.7373 GB, free: 7.367 MB / 0.5105 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.003266/0.7558, allocations: 1.433 MB / 0.7387 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.7559, allocations: 12.03 kB / 0.7387 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.7595, allocations: 429.9 kB / 0.7391 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.7619, allocations: 0.914 MB / 0.74 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.009e-05/0.762, allocations: 61.98 kB / 0.7401 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.7622, allocations: 91.91 kB / 0.7401 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.7644, allocations: 0.8662 MB / 0.741 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.7645, allocations: 0 / 0.741 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.7646, allocations: 36 kB / 0.741 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.7646, allocations: 30 kB / 0.7411 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.7668, allocations: 0.812 MB / 0.7418 GB, free: 2.59 MB / 0.5105 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.006816/0.7737, allocations: 3.635 MB / 0.7454 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.7758, allocations: 1.126 MB / 0.7465 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.7763, allocations: 149.6 kB / 0.7466 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.7764, allocations: 47.12 kB / 0.7467 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 4.212e-06/0.7764, allocations: 3.938 kB / 0.7467 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60): time 0.002988/0.7794, allocations: 0.9818 MB / 0.7476 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.7795, allocations: 55.97 kB / 0.7477 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.781, allocations: 0.8239 MB / 0.7485 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.7812, allocations: 37.7 kB / 0.7485 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.7817, allocations: 480 kB / 0.749 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.782, allocations: 216.9 kB / 0.7492 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.782, allocations: 12 kB / 0.7492 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7822, allocations: 334 kB / 0.7495 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007083/0.783, allocations: 245 kB / 0.7498 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.7838, allocations: 380.2 kB / 0.7501 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.7847, allocations: 302.1 kB / 0.7504 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7847, allocations: 0 / 0.7504 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002048/0.7868, allocations: 0.7477 MB / 0.7511 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.7871, allocations: 455.2 kB / 0.7516 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7871, allocations: 4 kB / 0.7516 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.7871, allocations: 4 kB / 0.7516 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.7879, allocations: 127.8 kB / 0.7517 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.788, allocations: 6.75 kB / 0.7517 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.7892, allocations: 123.3 kB / 0.7518 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.7893, allocations: 23.98 kB / 0.7519 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7893, allocations: 6.5 kB / 0.7519 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/0.791, allocations: 0.6222 MB / 0.7525 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.791, allocations: 4.125 kB / 0.7525 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7911, allocations: 7.984 kB / 0.7525 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.7919, allocations: 131.8 kB / 0.7526 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.7919, allocations: 4 kB / 0.7526 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.7931, allocations: 123 kB / 0.7527 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.7932, allocations: 27.95 kB / 0.7528 GB, free: 6.844 MB / 0.5261 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.0007247/0.7939, allocations: 377.6 kB / 0.7531 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.7942, allocations: 102.8 kB / 0.7532 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.7962, allocations: 0.7556 MB / 0.754 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.7962, allocations: 12 kB / 0.754 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.7962, allocations: 0 / 0.754 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001802/0.798, allocations: 0.9228 MB / 0.7549 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/0.8032, allocations: 2.267 MB / 0.7571 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.8033, allocations: 4.406 kB / 0.7571 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.8042, allocations: 147.8 kB / 0.7572 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.8042, allocations: 4 kB / 0.7572 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/0.8043, allocations: 19.98 kB / 0.7572 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.8044, allocations: 11.94 kB / 0.7573 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.8044, allocations: 4 kB / 0.7573 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.8074, allocations: 1.436 MB / 0.7587 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/0.8081, allocations: 259.7 kB / 0.7589 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.8083, allocations: 19.98 kB / 0.7589 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.8094, allocations: 107.7 kB / 0.759 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.8096, allocations: 44.33 kB / 0.7591 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/0.8096, allocations: 24 kB / 0.7591 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001143/0.8108, allocations: 0.5704 MB / 0.7597 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.31e-07/0.8108, allocations: 0 / 0.7597 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001744/0.8126, allocations: 0.5378 MB / 0.7602 GB, free: 14.84 MB / 0.5417 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.00063/0.8132, allocations: 247.2 kB / 0.7604 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.8158, allocations: 0.9587 MB / 0.7614 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.8158, allocations: 0 / 0.7614 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008942/0.8167, allocations: 351.1 kB / 0.7617 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.8203, allocations: 0.6122 MB / 0.7623 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.8252, allocations: 2.611 MB / 0.7648 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.8264, allocations: 1.143 MB / 0.766 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001713/0.8281, allocations: 300.1 kB / 0.7662 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.8284, allocations: 83.42 kB / 0.7663 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of SimCode: time 1.565e-06/0.8284, allocations: 0 / 0.7663 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of Templates: time 0.04765/0.8761, allocations: 19.07 MB / 0.7849 GB, free: 5.57 MB / 0.5574 GB