Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 108.6 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 192.1 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 287 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.5146, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.716/1.231, allocations: 239.8 MB / 1.001 GB, free: 19.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01125/1.242, allocations: 7.215 MB / 1.008 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/1.244, allocations: 57.47 kB / 1.008 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/1.246, allocations: 0.6913 MB / 1.009 GB, free: 19.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/1.252, allocations: 2.074 MB / 1.011 GB, free: 19.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/1.258, allocations: 2.03 MB / 1.013 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004945/1.263, allocations: 3.277 MB / 1.016 GB, free: 19.2 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/1.265, allocations: 1.133 MB / 1.017 GB, free: 19.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/1.269, allocations: 1.821 MB / 1.019 GB, free: 19.06 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/1.272, allocations: 0.9687 MB / 1.02 GB, free: 18.94 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005609/1.273, allocations: 123.2 kB / 1.02 GB, free: 18.94 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005932/1.278, allocations: 2.496 MB / 1.023 GB, free: 18.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009297/1.279, allocations: 459.9 kB / 1.023 GB, free: 18.86 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001889/1.281, allocations: 0.7174 MB / 1.024 GB, free: 18.67 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006821/1.288, allocations: 2.688 MB / 1.026 GB, free: 18.37 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.288, allocations: 0.9375 kB / 1.026 GB, free: 18.37 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.334e-06/1.288, allocations: 0 / 1.026 GB, free: 18.37 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.375e-05/1.288, allocations: 0 / 1.026 GB, free: 18.37 MB / 0.7169 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.004407/1.293, allocations: 1.717 MB / 1.028 GB, free: 17.45 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.293, allocations: 10.47 kB / 1.028 GB, free: 17.45 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/1.296, allocations: 421.7 kB / 1.028 GB, free: 17.38 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/1.298, allocations: 1.022 MB / 1.029 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/1.298, allocations: 57.97 kB / 1.03 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/1.298, allocations: 93.66 kB / 1.03 GB, free: 17.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.3, allocations: 0.8672 MB / 1.03 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/1.3, allocations: 2.266 kB / 1.03 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/1.3, allocations: 30.56 kB / 1.031 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/1.3, allocations: 30.06 kB / 1.031 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.302, allocations: 0.8051 MB / 1.031 GB, free: 16.95 MB / 0.7169 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.005332/1.307, allocations: 3.643 MB / 1.035 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/1.309, allocations: 1.091 MB / 1.036 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/1.309, allocations: 374.6 kB / 1.036 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/1.31, allocations: 401.8 kB / 1.037 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/1.31, allocations: 48.19 kB / 1.037 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.715e-06/1.31, allocations: 3.938 kB / 1.037 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002102/1.312, allocations: 0.9577 MB / 1.038 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.312, allocations: 62.22 kB / 1.038 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.313, allocations: 0.8364 MB / 1.039 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/1.314, allocations: 46.47 kB / 1.039 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/1.314, allocations: 479.1 kB / 1.039 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/1.314, allocations: 215 kB / 1.039 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.314, allocations: 109.2 kB / 1.039 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/1.314, allocations: 324.3 kB / 1.04 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/1.315, allocations: 258.4 kB / 1.04 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/1.315, allocations: 367.7 kB / 1.04 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/1.317, allocations: 0.5885 MB / 1.041 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.317, allocations: 0 / 1.041 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001461/1.318, allocations: 0.7345 MB / 1.042 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.318, allocations: 11.56 kB / 1.042 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.318, allocations: 3.984 kB / 1.042 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/1.318, allocations: 10.09 kB / 1.042 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/1.319, allocations: 131.3 kB / 1.042 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.319, allocations: 2.469 kB / 1.042 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/1.32, allocations: 71.36 kB / 1.042 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/1.32, allocations: 27.33 kB / 1.042 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008635/1.321, allocations: 496.5 kB / 1.042 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005062/1.321, allocations: 367 kB / 1.043 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009097/1.322, allocations: 0.5728 MB / 1.043 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/1.322, allocations: 2.625 kB / 1.043 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001345/1.323, allocations: 0.7212 MB / 1.044 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.323, allocations: 8.469 kB / 1.044 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.323, allocations: 0 / 1.044 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/1.323, allocations: 6.812 kB / 1.044 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/1.324, allocations: 125.4 kB / 1.044 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.324, allocations: 3 kB / 1.044 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/1.325, allocations: 73.88 kB / 1.044 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/1.325, allocations: 20.09 kB / 1.044 GB, free: 10.32 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001987/1.325, allocations: 220.5 kB / 1.044 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/1.325, allocations: 105.8 kB / 1.044 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.327, allocations: 0.7378 MB / 1.045 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.327, allocations: 7.469 kB / 1.045 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.327, allocations: 0 / 1.045 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009905/1.328, allocations: 0.9055 MB / 1.046 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/1.331, allocations: 2.239 MB / 1.048 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/1.331, allocations: 5.312 kB / 1.048 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/1.332, allocations: 134.5 kB / 1.048 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.332, allocations: 10.5 kB / 1.048 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/1.332, allocations: 28.97 kB / 1.048 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/1.332, allocations: 7.594 kB / 1.048 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.332, allocations: 6.922 kB / 1.048 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/1.334, allocations: 1.224 MB / 1.05 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/1.334, allocations: 264.7 kB / 1.05 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.334, allocations: 17.12 kB / 1.05 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/1.335, allocations: 43.8 kB / 1.05 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.335, allocations: 48.06 kB / 1.05 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/1.335, allocations: 25.91 kB / 1.05 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008235/1.336, allocations: 0.5838 MB / 1.051 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.336, allocations: 4 kB / 1.051 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001497/1.337, allocations: 0.5299 MB / 1.051 GB, free: 5.449 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (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.0005429/1.338, allocations: 243.9 kB / 1.051 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.34, allocations: 0.9459 MB / 1.052 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.34, allocations: 4 kB / 1.052 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/1.34, allocations: 346.2 kB / 1.053 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.343, allocations: 0.6062 MB / 1.053 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/1.346, allocations: 2.18 MB / 1.055 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/1.346, allocations: 1.128 MB / 1.056 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/1.347, allocations: 83.42 kB / 1.056 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.347, allocations: 0 / 1.056 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.02709/1.374, allocations: 17.3 MB / 1.073 GB, free: 14.8 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)