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.0009649/0.0009648, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009905/0.0009907, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3807/0.3807, allocations: 54.97 MB / 325.3 MB, free: 0.6719 MB / 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.0005433/0.0005434, allocations: 19.98 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3235, allocations: 60.71 MB / 457.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.209/0.5325, allocations: 196.6 MB / 0.6386 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3094/0.842, allocations: 6.919 MB / 0.6453 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.8438, allocations: 38.66 kB / 0.6454 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.8461, allocations: 0.6658 MB / 0.646 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.8517, allocations: 1.737 MB / 0.6477 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.856, allocations: 1.352 MB / 0.649 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003733/0.8597, allocations: 2.131 MB / 0.6511 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.8612, allocations: 0.8945 MB / 0.652 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.8646, allocations: 1.44 MB / 0.6534 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.8661, allocations: 0.7037 MB / 0.6541 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.8664, allocations: 56.94 kB / 0.6541 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.8689, allocations: 0.8976 MB / 0.655 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.8694, allocations: 439.3 kB / 0.6554 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.8699, allocations: 329.2 kB / 0.6558 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.872, allocations: 1.825 MB / 0.6575 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.872, allocations: 0.5 kB / 0.6575 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.575e-06/0.872, allocations: 0 / 0.6575 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.485e-05/0.8721, allocations: 0.625 kB / 0.6575 GB, free: 18.49 MB / 0.4981 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.002985/0.8751, allocations: 1.537 MB / 0.659 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.8751, allocations: 9.594 kB / 0.659 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.8777, allocations: 424 kB / 0.6595 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.8796, allocations: 0.9546 MB / 0.6604 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.8797, allocations: 74.97 kB / 0.6605 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.8799, allocations: 100.7 kB / 0.6606 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.8835, allocations: 1.319 MB / 0.6618 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.8835, allocations: 2.219 kB / 0.6618 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.8836, allocations: 44.83 kB / 0.6619 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.8837, allocations: 35.44 kB / 0.6619 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/0.8873, allocations: 1.239 MB / 0.6631 GB, free: 17.13 MB / 0.4981 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.007745/0.8951, allocations: 4.286 MB / 0.6673 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.8984, allocations: 1.4 MB / 0.6687 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000426/0.8988, allocations: 141.2 kB / 0.6688 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.8989, allocations: 50.44 kB / 0.6689 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 3.326e-06/0.8989, allocations: 4 kB / 0.6689 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63): time 0.005329/0.9043, allocations: 1.492 MB / 0.6703 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.9043, allocations: 58.88 kB / 0.6704 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.906, allocations: 0.9494 MB / 0.6713 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.9062, allocations: 40.45 kB / 0.6713 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.9066, allocations: 0.5361 MB / 0.6719 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.9068, allocations: 226.9 kB / 0.6721 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.9069, allocations: 13.84 kB / 0.6721 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.907, allocations: 335.2 kB / 0.6724 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.908, allocations: 387.1 kB / 0.6728 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.909, allocations: 0.5025 MB / 0.6733 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.9101, allocations: 433.5 kB / 0.6737 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9102, allocations: 0 / 0.6737 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002796/0.913, allocations: 1.038 MB / 0.6747 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.9132, allocations: 0.7128 MB / 0.6754 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.9132, allocations: 2.094 kB / 0.6754 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.9133, allocations: 5.406 kB / 0.6754 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.9143, allocations: 201.8 kB / 0.6756 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.9144, allocations: 7.031 kB / 0.6756 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.916, allocations: 189.6 kB / 0.6758 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.9161, allocations: 33.33 kB / 0.6758 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.9161, allocations: 4 kB / 0.6758 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/0.9175, allocations: 0.7079 MB / 0.6765 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9175, allocations: 5.984 kB / 0.6765 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.9175, allocations: 6.719 kB / 0.6765 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.9182, allocations: 160.5 kB / 0.6767 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.9183, allocations: 7.297 kB / 0.6767 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.9196, allocations: 145.5 kB / 0.6768 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.9197, allocations: 19.12 kB / 0.6768 GB, free: 12.3 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008961/0.9206, allocations: 405.6 kB / 0.6772 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.9209, allocations: 121.4 kB / 0.6773 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.9233, allocations: 0.9887 MB / 0.6783 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9233, allocations: 10.56 kB / 0.6783 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9233, allocations: 2 kB / 0.6783 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001998/0.9253, allocations: 1.14 MB / 0.6794 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.9304, allocations: 2.619 MB / 0.682 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.9304, allocations: 5.375 kB / 0.682 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009076/0.9313, allocations: 198 kB / 0.6822 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.9313, allocations: 5.938 kB / 0.6822 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.9314, allocations: 17.78 kB / 0.6822 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.9314, allocations: 6.25 kB / 0.6822 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9314, allocations: 8.641 kB / 0.6822 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.9344, allocations: 1.786 MB / 0.684 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.9351, allocations: 312.5 kB / 0.6843 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.9353, allocations: 18.86 kB / 0.6843 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9365, allocations: 145.5 kB / 0.6844 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.9366, allocations: 50.88 kB / 0.6845 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/0.9367, allocations: 42.12 kB / 0.6845 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008164/0.9375, allocations: 0.6593 MB / 0.6852 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9375, allocations: 1.219 kB / 0.6852 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001456/0.939, allocations: 0.6129 MB / 0.6858 GB, free: 9.758 MB / 0.4981 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 (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.0004453/0.9395, allocations: 223.6 kB / 0.686 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.9419, allocations: 1.267 MB / 0.6872 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9419, allocations: 3.375 kB / 0.6872 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.9428, allocations: 469.3 kB / 0.6877 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.9462, allocations: 0.7114 MB / 0.6884 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.9497, allocations: 2.881 MB / 0.6912 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.9502, allocations: 1.188 MB / 0.6923 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001302/0.9515, allocations: 324.9 kB / 0.6926 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.9518, allocations: 94.12 kB / 0.6927 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.9518, allocations: 0 / 0.6927 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.03503/0.9868, allocations: 23.23 MB / 0.7154 GB, free: 5.23 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: