Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7054/0.7054, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001136, allocations: 191.5 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205 MB / 408.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.34 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 59.17 kB / 0.558 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 75.48 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5563/0.7019, allocations: 252.2 MB / 0.8779 GB, free: 14.19 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.7138, allocations: 7.326 MB / 0.8851 GB, free: 6.844 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.7156, allocations: 47.69 kB / 0.8851 GB, free: 6.797 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.7175, allocations: 0.5828 MB / 0.8857 GB, free: 6.211 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.7236, allocations: 1.962 MB / 0.8876 GB, free: 4.242 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.7279, allocations: 1.782 MB / 0.8893 GB, free: 2.469 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005323/0.7333, allocations: 4.631 MB / 0.8939 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.7348, allocations: 0.9552 MB / 0.8948 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00374/0.7386, allocations: 1.62 MB / 0.8964 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.7402, allocations: 1.018 MB / 0.8974 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.7404, allocations: 60 kB / 0.8974 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.7449, allocations: 2.837 MB / 0.9002 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.7454, allocations: 402.7 kB / 0.9006 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007031/0.7461, allocations: 0.653 MB / 0.9012 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.7496, allocations: 2.878 MB / 0.904 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7496, allocations: 0 / 0.904 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7496, allocations: 4 kB / 0.904 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.7496, allocations: 3.938 kB / 0.904 GB, free: 3.359 MB / 0.5886 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.002483/0.7521, allocations: 1.693 MB / 0.9057 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7521, allocations: 8.031 kB / 0.9057 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.7544, allocations: 418 kB / 0.9061 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.7559, allocations: 0.9638 MB / 0.907 GB, free: 188 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.7559, allocations: 62 kB / 0.9071 GB, free: 128 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.756, allocations: 84 kB / 0.9072 GB, free: 44 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.7583, allocations: 1.015 MB / 0.9082 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.7583, allocations: 7.984 kB / 0.9082 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.7584, allocations: 28 kB / 0.9082 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.7585, allocations: 34 kB / 0.9082 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.7607, allocations: 0.9564 MB / 0.9092 GB, free: 13.99 MB / 0.6042 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.004009/0.7647, allocations: 3.627 MB / 0.9127 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.767, allocations: 1.263 MB / 0.9139 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.7675, allocations: 366.9 kB / 0.9143 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/0.7682, allocations: 404.9 kB / 0.9147 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.7682, allocations: 39.12 kB / 0.9147 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 3.065e-06/0.7682, allocations: 0 / 0.9147 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.003582/0.7718, allocations: 1.239 MB / 0.9159 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.7719, allocations: 59.97 kB / 0.916 GB, free: 6.504 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.7727, allocations: 0.8193 MB / 0.9168 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.7728, allocations: 45.7 kB / 0.9168 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.7731, allocations: 488 kB / 0.9173 GB, free: 5.125 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.7733, allocations: 208.9 kB / 0.9175 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.7735, allocations: 114.1 kB / 0.9176 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7736, allocations: 329.9 kB / 0.9179 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.7742, allocations: 306.8 kB / 0.9182 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.775, allocations: 411.4 kB / 0.9186 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.7763, allocations: 0.6624 MB / 0.9193 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7763, allocations: 0 / 0.9193 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001557/0.7779, allocations: 0.8102 MB / 0.92 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7779, allocations: 8 kB / 0.9201 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7779, allocations: 4.094 kB / 0.9201 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7779, allocations: 4 kB / 0.9201 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.7786, allocations: 147.8 kB / 0.9202 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7786, allocations: 6.172 kB / 0.9202 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.7796, allocations: 147.3 kB / 0.9203 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.7797, allocations: 23.98 kB / 0.9204 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008002/0.7805, allocations: 497 kB / 0.9208 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005767/0.7811, allocations: 355.5 kB / 0.9212 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001024/0.7821, allocations: 0.5688 MB / 0.9217 GB, free: 468 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.7821, allocations: 0 / 0.9217 GB, free: 468 kB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001215/0.7834, allocations: 0.7047 MB / 0.9224 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.7834, allocations: 8.094 kB / 0.9224 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.7834, allocations: 4 kB / 0.9224 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.842e-06/0.7834, allocations: 7.984 kB / 0.9224 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.7839, allocations: 123.9 kB / 0.9226 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.7839, allocations: 11.92 kB / 0.9226 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/0.7847, allocations: 103.5 kB / 0.9227 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.7848, allocations: 23.98 kB / 0.9227 GB, free: 15.47 MB / 0.6198 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.0001958/0.785, allocations: 212.1 kB / 0.9229 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.7851, allocations: 98.78 kB / 0.923 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.7869, allocations: 0.8404 MB / 0.9238 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.787, allocations: 4 kB / 0.9238 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.787, allocations: 3.984 kB / 0.9238 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/0.7886, allocations: 0.9931 MB / 0.9248 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/0.7932, allocations: 2.348 MB / 0.9271 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7933, allocations: 0 / 0.9271 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.7942, allocations: 163.8 kB / 0.9272 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.7942, allocations: 4.375 kB / 0.9272 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.7942, allocations: 27.98 kB / 0.9273 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.7943, allocations: 4 kB / 0.9273 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7943, allocations: 4 kB / 0.9273 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/0.8204, allocations: 8.982 MB / 0.9361 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.8209, allocations: 259.7 kB / 0.9363 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.821, allocations: 12 kB / 0.9363 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/0.8219, allocations: 116 kB / 0.9364 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.822, allocations: 52.25 kB / 0.9365 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.8221, allocations: 31.92 kB / 0.9365 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007463/0.8229, allocations: 0.5739 MB / 0.9371 GB, free: 276 kB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8229, allocations: 0 / 0.9371 GB, free: 276 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003038/0.8259, allocations: 0.9128 MB / 0.938 GB, free: 15.35 MB / 0.6355 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.000502/0.8264, allocations: 230 kB / 0.9382 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.8286, allocations: 1.021 MB / 0.9392 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8286, allocations: 0 / 0.9392 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.8294, allocations: 390.7 kB / 0.9395 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.8322, allocations: 0.6131 MB / 0.9401 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.8362, allocations: 2.96 MB / 0.943 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.837, allocations: 1.132 MB / 0.9441 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001268/0.8382, allocations: 308.1 kB / 0.9444 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.8387, allocations: 99.41 kB / 0.9445 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.8387, allocations: 0 / 0.9445 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of Templates: time 0.03947/0.8781, allocations: 25.72 MB / 0.9696 GB, free: 15.04 MB / 0.6667 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)