Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7569/0.7569, allocations: 131 MB / 146.3 MB, free: 1.332 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 188.2 kB / 176.4 MB, free: 4.895 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.7 MB / 431.9 MB, free: 8.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007086/0.0007084, allocations: 93.22 kB / 0.5003 GB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 8 kB / 0.5885 GB, free: 72.72 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 79.59 MB / 0.6663 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.549/0.6859, allocations: 251.1 MB / 0.9115 GB, free: 11.66 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.6988, allocations: 9.99 MB / 0.9212 GB, free: 0.9531 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.7006, allocations: 43.69 kB / 0.9213 GB, free: 0.9102 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.7026, allocations: 0.5828 MB / 0.9218 GB, free: 332 kB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.005421/0.708, allocations: 1.949 MB / 0.9237 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.7127, allocations: 1.785 MB / 0.9255 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005888/0.7186, allocations: 4.615 MB / 0.93 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.7207, allocations: 0.9225 MB / 0.9309 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.7247, allocations: 1.621 MB / 0.9325 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.7269, allocations: 0.9666 MB / 0.9334 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.7273, allocations: 55.94 kB / 0.9335 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.7326, allocations: 2.774 MB / 0.9362 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.7333, allocations: 386.7 kB / 0.9365 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.7346, allocations: 0.6624 MB / 0.9372 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.7397, allocations: 2.851 MB / 0.94 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7397, allocations: 0 / 0.94 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7397, allocations: 0 / 0.94 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.573e-05/0.7398, allocations: 4 kB / 0.94 GB, free: 13.67 MB / 0.6511 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.002822/0.7426, allocations: 1.456 MB / 0.9414 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7427, allocations: 12.03 kB / 0.9414 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.7452, allocations: 425.9 kB / 0.9418 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.7468, allocations: 0.9561 MB / 0.9428 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.7469, allocations: 66 kB / 0.9428 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.7471, allocations: 83.91 kB / 0.9429 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.7497, allocations: 1.042 MB / 0.9439 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.7497, allocations: 0 / 0.9439 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.787e-05/0.7498, allocations: 32 kB / 0.9439 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.7499, allocations: 26 kB / 0.944 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.7524, allocations: 1.003 MB / 0.9449 GB, free: 8.473 MB / 0.6511 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.004892/0.7573, allocations: 3.635 MB / 0.9485 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.7597, allocations: 1.295 MB / 0.9498 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.7603, allocations: 366.9 kB / 0.9501 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.7609, allocations: 420.9 kB / 0.9505 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.761, allocations: 47.12 kB / 0.9506 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 2.275e-06/0.761, allocations: 0 / 0.9506 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.003802/0.7648, allocations: 1.29 MB / 0.9518 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.7649, allocations: 59.97 kB / 0.9519 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.766, allocations: 0.8232 MB / 0.9527 GB, free: 20 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.7661, allocations: 37.7 kB / 0.9527 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.7665, allocations: 492 kB / 0.9532 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.7667, allocations: 205 kB / 0.9534 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.7667, allocations: 12 kB / 0.9534 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7669, allocations: 329.9 kB / 0.9537 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.7675, allocations: 308.9 kB / 0.954 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.7684, allocations: 431.3 kB / 0.9544 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.7698, allocations: 0.6937 MB / 0.9551 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.7698, allocations: 3.938 kB / 0.9551 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001741/0.7716, allocations: 0.8453 MB / 0.9559 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.524e-05/0.7717, allocations: 113.9 kB / 0.956 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.7717, allocations: 4 kB / 0.956 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7717, allocations: 96 / 0.956 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.7725, allocations: 163.7 kB / 0.9562 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.7725, allocations: 11.92 kB / 0.9562 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7736, allocations: 147.4 kB / 0.9563 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.7737, allocations: 23.98 kB / 0.9564 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.7737, allocations: 4 kB / 0.9564 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/0.7748, allocations: 0.6144 MB / 0.957 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.7748, allocations: 0 / 0.957 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.7748, allocations: 4 kB / 0.957 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.7753, allocations: 127.8 kB / 0.9571 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7753, allocations: 8.094 kB / 0.9571 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/0.7762, allocations: 127.3 kB / 0.9572 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.7763, allocations: 23.98 kB / 0.9572 GB, free: 11.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (68): * Single equations (assignments): 68 * 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.0004894/0.7768, allocations: 384.8 kB / 0.9576 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.777, allocations: 98.88 kB / 0.9577 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.7788, allocations: 0.8716 MB / 0.9586 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.7788, allocations: 4 kB / 0.9586 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7788, allocations: 0 / 0.9586 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/0.7804, allocations: 1.028 MB / 0.9596 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/0.7846, allocations: 2.383 MB / 0.9619 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.7847, allocations: 4 kB / 0.9619 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.7855, allocations: 164.2 kB / 0.9621 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.7856, allocations: 8 kB / 0.9621 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.7856, allocations: 19.98 kB / 0.9621 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.7856, allocations: 7.938 kB / 0.9621 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7856, allocations: 4 kB / 0.9621 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.7882, allocations: 1.454 MB / 0.9635 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.7887, allocations: 263.7 kB / 0.9638 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.7889, allocations: 16 kB / 0.9638 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.7899, allocations: 123.8 kB / 0.9639 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.79, allocations: 52.25 kB / 0.9639 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.7901, allocations: 23.98 kB / 0.964 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008489/0.791, allocations: 0.5622 MB / 0.9645 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.8e-07/0.791, allocations: 4 kB / 0.9645 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001327/0.7923, allocations: 0.5376 MB / 0.965 GB, free: 2.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (59): * Single equations (assignments): 59 * 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.0005117/0.7928, allocations: 247.9 kB / 0.9653 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.7951, allocations: 1.06 MB / 0.9663 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7951, allocations: 4 kB / 0.9663 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008297/0.7959, allocations: 411 kB / 0.9667 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.7991, allocations: 0.6245 MB / 0.9673 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.8032, allocations: 2.678 MB / 0.9699 GB, free: 13.85 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.804, allocations: 1.124 MB / 0.971 GB, free: 12.7 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.001258/0.8052, allocations: 292.1 kB / 0.9713 GB, free: 12.41 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.8056, allocations: 83.41 kB / 0.9714 GB, free: 12.32 MB / 0.6824 GB Notification: Performance of SimCode: time 7.82e-07/0.8056, allocations: 0 / 0.9714 GB, free: 12.32 MB / 0.6824 GB Notification: Performance of Templates: time 0.2889/1.094, allocations: 20.57 MB / 0.9915 GB, free: 260.1 MB / 0.6824 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)