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.007945/0.007945, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001445/0.001445, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.687/1.687, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4665/0.4665, allocations: 54.95 MB / 324.8 MB, free: 88 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.001492/0.001492, allocations: 66.91 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1601, allocations: 59.59 MB / 0.5038 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.6714/0.8315, allocations: 239.9 MB / 0.738 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.8477, allocations: 6.828 MB / 0.7447 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00349/0.8512, allocations: 49.59 kB / 0.7448 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.8549, allocations: 0.8517 MB / 0.7456 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.8623, allocations: 1.94 MB / 0.7475 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006523/0.8689, allocations: 2.005 MB / 0.7494 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007122/0.876, allocations: 3.734 MB / 0.7531 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.8789, allocations: 1.226 MB / 0.7543 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006766/0.8858, allocations: 1.873 MB / 0.7561 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.8893, allocations: 1.1 MB / 0.7572 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006628/0.89, allocations: 148 kB / 0.7573 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.8957, allocations: 2.144 MB / 0.7594 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.897, allocations: 0.5532 MB / 0.76 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.8995, allocations: 0.8518 MB / 0.7608 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007406/0.9069, allocations: 2.894 MB / 0.7636 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.907, allocations: 0 / 0.7636 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.907, allocations: 0 / 0.7636 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001036/0.9071, allocations: 0 / 0.7636 GB, free: 0.5195 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.005835/0.9129, allocations: 1.853 MB / 0.7654 GB, free: 14.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.913, allocations: 12.03 kB / 0.7654 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.9161, allocations: 413.8 kB / 0.7658 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.919, allocations: 1.05 MB / 0.7669 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-05/0.9191, allocations: 85.88 kB / 0.767 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/0.9194, allocations: 96 kB / 0.767 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.9235, allocations: 1.288 MB / 0.7683 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.9236, allocations: 4 kB / 0.7683 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.9237, allocations: 40 kB / 0.7683 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/0.9238, allocations: 34 kB / 0.7684 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.9271, allocations: 1.194 MB / 0.7695 GB, free: 10.36 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.007027/0.9341, allocations: 4.276 MB / 0.7737 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.9371, allocations: 1.362 MB / 0.775 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.9378, allocations: 366.9 kB / 0.7754 GB, free: 3.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.9382, allocations: 125.6 kB / 0.7755 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.9382, allocations: 45.06 kB / 0.7756 GB, free: 3.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.335e-06/0.9382, allocations: 4 kB / 0.7756 GB, free: 3.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=63): time 0.004704/0.943, allocations: 1.399 MB / 0.7769 GB, free: 2.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.943, allocations: 63.91 kB / 0.777 GB, free: 2.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.9446, allocations: 0.9496 MB / 0.7779 GB, free: 1.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.9448, allocations: 41.7 kB / 0.778 GB, free: 1.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.9452, allocations: 0.5349 MB / 0.7785 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.9455, allocations: 232.7 kB / 0.7787 GB, free: 444 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.9457, allocations: 126.2 kB / 0.7788 GB, free: 312 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9459, allocations: 335 kB / 0.7791 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/0.9468, allocations: 375.2 kB / 0.7795 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.9478, allocations: 487.8 kB / 0.78 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.9498, allocations: 0.8155 MB / 0.7808 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9498, allocations: 4 kB / 0.7808 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00251/0.9523, allocations: 0.9996 MB / 0.7817 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9523, allocations: 4 kB / 0.7817 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9523, allocations: 4 kB / 0.7817 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9524, allocations: 4 kB / 0.7818 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/0.9533, allocations: 187.7 kB / 0.7819 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.9533, allocations: 11.97 kB / 0.7819 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.9545, allocations: 123.1 kB / 0.7821 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.9546, allocations: 20 kB / 0.7821 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009456/0.9556, allocations: 0.5402 MB / 0.7826 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005914/0.9562, allocations: 411.8 kB / 0.783 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/0.9573, allocations: 0.6517 MB / 0.7836 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.9573, allocations: 0 / 0.7836 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001603/0.9589, allocations: 0.824 MB / 0.7844 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9589, allocations: 4 kB / 0.7844 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9589, allocations: 4 kB / 0.7844 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.9589, allocations: 4 kB / 0.7845 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.9596, allocations: 155.7 kB / 0.7846 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.9596, allocations: 7.938 kB / 0.7846 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/0.9606, allocations: 75.42 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.9606, allocations: 28.03 kB / 0.7847 GB, free: 10.11 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.0002928/0.9609, allocations: 224 kB / 0.7849 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.9613, allocations: 110.7 kB / 0.785 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.9636, allocations: 0.943 MB / 0.7859 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.9636, allocations: 8 kB / 0.786 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9637, allocations: 0 / 0.786 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.9656, allocations: 1.095 MB / 0.787 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/0.9703, allocations: 2.573 MB / 0.7895 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.9704, allocations: 0 / 0.7895 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009417/0.9713, allocations: 188.1 kB / 0.7897 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.9713, allocations: 8 kB / 0.7897 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.9714, allocations: 16 kB / 0.7897 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.9714, allocations: 4 kB / 0.7897 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.9714, allocations: 11.92 kB / 0.7898 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.9747, allocations: 1.585 MB / 0.7913 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.9754, allocations: 303.6 kB / 0.7916 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.9757, allocations: 12 kB / 0.7916 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.977, allocations: 91.83 kB / 0.7917 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.9771, allocations: 48.31 kB / 0.7917 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.9773, allocations: 47.91 kB / 0.7918 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001268/0.9786, allocations: 0.6664 MB / 0.7924 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9786, allocations: 0 / 0.7924 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002055/0.9806, allocations: 0.6118 MB / 0.793 GB, free: 1.254 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.0005816/0.9812, allocations: 206.8 kB / 0.7932 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.9842, allocations: 1.225 MB / 0.7944 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.9842, allocations: 4.25 kB / 0.7944 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.9852, allocations: 446.9 kB / 0.7949 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.9887, allocations: 0.7026 MB / 0.7955 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.9941, allocations: 2.375 MB / 0.7979 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.9952, allocations: 1.167 MB / 0.799 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001521/0.9968, allocations: 321.1 kB / 0.7993 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.9972, allocations: 91.42 kB / 0.7994 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/0.9972, allocations: 0 / 0.7994 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.04689/1.044, allocations: 25.04 MB / 0.8238 GB, free: 1.773 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)