Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007284/0.007284, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001483/0.001483, allocations: 194.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.316 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4389/0.4389, allocations: 54.94 MB / 324.8 MB, free: 124 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 70.48 kB / 456.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.157, allocations: 59.59 MB / 0.5038 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.7193/0.8763, allocations: 239.9 MB / 0.738 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.8892, allocations: 6.824 MB / 0.7447 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.8915, allocations: 49.66 kB / 0.7448 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.8941, allocations: 0.8213 MB / 0.7456 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.9003, allocations: 1.859 MB / 0.7474 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006012/0.9064, allocations: 1.971 MB / 0.7493 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.9129, allocations: 3.73 MB / 0.7529 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.9156, allocations: 1.217 MB / 0.7541 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/0.9208, allocations: 1.822 MB / 0.7559 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.9236, allocations: 1.11 MB / 0.757 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006462/0.9243, allocations: 148 kB / 0.7571 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.9302, allocations: 2.144 MB / 0.7592 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.9312, allocations: 0.5571 MB / 0.7598 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002268/0.9335, allocations: 0.844 MB / 0.7606 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007006/0.9405, allocations: 2.898 MB / 0.7634 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.9406, allocations: 0 / 0.7634 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9406, allocations: 0 / 0.7634 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001022/0.9407, allocations: 4 kB / 0.7634 GB, free: 0.6758 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00516/0.9458, allocations: 1.845 MB / 0.7652 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9459, allocations: 12.03 kB / 0.7652 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.949, allocations: 409.9 kB / 0.7656 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.9514, allocations: 1.053 MB / 0.7667 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.9515, allocations: 81.94 kB / 0.7667 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.9516, allocations: 100 kB / 0.7668 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.9549, allocations: 1.283 MB / 0.7681 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.9549, allocations: 4 kB / 0.7681 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.955, allocations: 44 kB / 0.7681 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.9551, allocations: 34 kB / 0.7682 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.9579, allocations: 1.194 MB / 0.7693 GB, free: 10.52 MB / 0.545 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.005757/0.9637, allocations: 4.284 MB / 0.7735 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.9665, allocations: 1.361 MB / 0.7748 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/0.9671, allocations: 362.9 kB / 0.7752 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/0.9675, allocations: 125.6 kB / 0.7753 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.9675, allocations: 47.12 kB / 0.7754 GB, free: 3.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 4.018e-06/0.9675, allocations: 0 / 0.7754 GB, free: 3.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=63): time 0.004444/0.972, allocations: 1.411 MB / 0.7767 GB, free: 2.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.972, allocations: 55.97 kB / 0.7768 GB, free: 2.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.9733, allocations: 0.9496 MB / 0.7777 GB, free: 1.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.9733, allocations: 41.7 kB / 0.7778 GB, free: 1.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.9738, allocations: 0.5465 MB / 0.7783 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.974, allocations: 220.7 kB / 0.7785 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.9742, allocations: 134.2 kB / 0.7786 GB, free: 468 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9743, allocations: 330 kB / 0.7789 GB, free: 132 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.9752, allocations: 368.3 kB / 0.7793 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.9761, allocations: 491.8 kB / 0.7798 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.9778, allocations: 0.8194 MB / 0.7806 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9778, allocations: 4 kB / 0.7806 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002062/0.9798, allocations: 0.9917 MB / 0.7815 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9799, allocations: 4 kB / 0.7815 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9799, allocations: 8.156 kB / 0.7815 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9799, allocations: 4 kB / 0.7816 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/0.9808, allocations: 187.7 kB / 0.7817 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9808, allocations: 4 kB / 0.7817 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/0.9818, allocations: 131.1 kB / 0.7819 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.9819, allocations: 20 kB / 0.7819 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008707/0.9828, allocations: 0.5441 MB / 0.7824 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005786/0.9834, allocations: 407.8 kB / 0.7828 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001051/0.9844, allocations: 0.6516 MB / 0.7834 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.9844, allocations: 4 kB / 0.7834 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001388/0.9858, allocations: 0.8161 MB / 0.7842 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.9858, allocations: 4 kB / 0.7842 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.9859, allocations: 5.094 kB / 0.7842 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.9859, allocations: 4.219 kB / 0.7842 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.9865, allocations: 155.8 kB / 0.7844 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.9865, allocations: 7.938 kB / 0.7844 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.9873, allocations: 75.48 kB / 0.7845 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.9873, allocations: 20 kB / 0.7845 GB, free: 10.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (82): * Single equations (assignments): 82 * 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.0002658/0.9876, allocations: 224 kB / 0.7847 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.9878, allocations: 114.7 kB / 0.7848 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.9899, allocations: 0.943 MB / 0.7857 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.9899, allocations: 8 kB / 0.7857 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9899, allocations: 3.938 kB / 0.7858 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001825/0.9917, allocations: 1.095 MB / 0.7868 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.9961, allocations: 2.569 MB / 0.7893 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.9961, allocations: 4 kB / 0.7893 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/0.997, allocations: 179.7 kB / 0.7895 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.9971, allocations: 12.27 kB / 0.7895 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.9971, allocations: 20 kB / 0.7895 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/0.9972, allocations: 7.984 kB / 0.7895 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.9972, allocations: 7.938 kB / 0.7895 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/1, allocations: 1.581 MB / 0.7911 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/1.001, allocations: 307.5 kB / 0.7914 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/1.001, allocations: 12 kB / 0.7914 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.002, allocations: 83.91 kB / 0.7915 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.002, allocations: 56.31 kB / 0.7915 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.5e-05/1.002, allocations: 47.97 kB / 0.7916 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001039/1.003, allocations: 0.6664 MB / 0.7922 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.003, allocations: 0 / 0.7922 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001818/1.005, allocations: 0.6118 MB / 0.7928 GB, free: 1.418 MB / 0.5606 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 (63): * Single equations (assignments): 63 * 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.0005961/1.006, allocations: 223.5 kB / 0.793 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002971/1.009, allocations: 1.217 MB / 0.7942 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.009, allocations: 0 / 0.7942 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.01, allocations: 447.7 kB / 0.7947 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.013, allocations: 0.7041 MB / 0.7953 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/1.019, allocations: 2.367 MB / 0.7977 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.02, allocations: 1.167 MB / 0.7988 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001489/1.022, allocations: 325 kB / 0.7991 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/1.022, allocations: 95.41 kB / 0.7992 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of SimCode: time 1.247e-05/1.022, allocations: 0 / 0.7992 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.04699/1.069, allocations: 25.47 MB / 0.8241 GB, free: 1.496 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)