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.008755/0.008755, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001623/0.001623, allocations: 201.4 kB / 16.68 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.64/1.64, allocations: 205.1 MB / 222.6 MB, free: 4.555 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: 15.88 MB / 270.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.001795/0.001795, allocations: 69.11 kB / 456.2 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1806, allocations: 59.58 MB / 0.5037 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.7789/0.9595, allocations: 239.9 MB / 0.738 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.9742, allocations: 6.825 MB / 0.7446 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.9776, allocations: 50.19 kB / 0.7447 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.9811, allocations: 0.8152 MB / 0.7455 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008231/0.9893, allocations: 1.863 MB / 0.7473 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008033/0.9974, allocations: 1.975 MB / 0.7492 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00854/1.006, allocations: 3.738 MB / 0.7529 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003492/1.009, allocations: 1.221 MB / 0.7541 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/1.016, allocations: 1.794 MB / 0.7558 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/1.02, allocations: 1.094 MB / 0.7569 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008487/1.021, allocations: 148 kB / 0.757 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006968/1.028, allocations: 2.144 MB / 0.7591 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/1.029, allocations: 0.5687 MB / 0.7597 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002965/1.032, allocations: 0.8402 MB / 0.7605 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009508/1.042, allocations: 2.902 MB / 0.7633 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.042, allocations: 0 / 0.7633 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/1.042, allocations: 0 / 0.7633 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001184/1.042, allocations: 0 / 0.7633 GB, free: 0.8516 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.007134/1.049, allocations: 1.905 MB / 0.7652 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.049, allocations: 8.031 kB / 0.7652 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/1.052, allocations: 414.7 kB / 0.7656 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/1.056, allocations: 1.062 MB / 0.7666 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/1.056, allocations: 73.94 kB / 0.7667 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/1.056, allocations: 108 kB / 0.7668 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/1.06, allocations: 1.284 MB / 0.7681 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/1.06, allocations: 0 / 0.7681 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/1.061, allocations: 36.81 kB / 0.7681 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/1.061, allocations: 42 kB / 0.7681 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/1.064, allocations: 1.191 MB / 0.7693 GB, free: 10.63 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.008701/1.073, allocations: 4.293 MB / 0.7735 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/1.076, allocations: 1.362 MB / 0.7748 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/1.077, allocations: 362.9 kB / 0.7752 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003893/1.077, allocations: 129.6 kB / 0.7753 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.077, allocations: 47.12 kB / 0.7753 GB, free: 3.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 4.127e-06/1.077, allocations: 1.094 kB / 0.7753 GB, free: 3.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=63): time 0.005561/1.083, allocations: 1.404 MB / 0.7767 GB, free: 2.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/1.083, allocations: 63.97 kB / 0.7768 GB, free: 2.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/1.086, allocations: 0.9535 MB / 0.7777 GB, free: 1.508 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/1.086, allocations: 41.7 kB / 0.7777 GB, free: 1.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007301/1.087, allocations: 0.5475 MB / 0.7783 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/1.087, allocations: 234 kB / 0.7785 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/1.088, allocations: 138.2 kB / 0.7786 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002437/1.088, allocations: 334 kB / 0.7789 GB, free: 208 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.089, allocations: 367.2 kB / 0.7793 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.09, allocations: 0.5007 MB / 0.7798 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/1.093, allocations: 0.8039 MB / 0.7806 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/1.093, allocations: 0 / 0.7806 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002704/1.095, allocations: 1 MB / 0.7815 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.095, allocations: 8 kB / 0.7816 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.095, allocations: 0 / 0.7816 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/1.095, allocations: 8.031 kB / 0.7816 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/1.096, allocations: 191.7 kB / 0.7817 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.096, allocations: 8 kB / 0.7818 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.098, allocations: 123.3 kB / 0.7819 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/1.098, allocations: 28.88 kB / 0.7819 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/1.099, allocations: 0.5441 MB / 0.7824 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006929/1.1, allocations: 399.9 kB / 0.7828 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00121/1.101, allocations: 0.6594 MB / 0.7835 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/1.101, allocations: 0 / 0.7835 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.00188/1.103, allocations: 0.8257 MB / 0.7843 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.103, allocations: 4 kB / 0.7843 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.103, allocations: 4 kB / 0.7843 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/1.103, allocations: 4 kB / 0.7843 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/1.104, allocations: 156 kB / 0.7844 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.104, allocations: 4 kB / 0.7844 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.105, allocations: 71.69 kB / 0.7845 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/1.105, allocations: 24 kB / 0.7845 GB, free: 10.34 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.0003511/1.105, allocations: 224 kB / 0.7847 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/1.106, allocations: 123.2 kB / 0.7848 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/1.108, allocations: 0.9507 MB / 0.7858 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.108, allocations: 4 kB / 0.7858 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.108, allocations: 0 / 0.7858 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002211/1.11, allocations: 1.102 MB / 0.7869 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/1.116, allocations: 2.557 MB / 0.7894 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.116, allocations: 4 kB / 0.7894 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/1.117, allocations: 191.7 kB / 0.7895 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/1.117, allocations: 4 kB / 0.7895 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/1.117, allocations: 16 kB / 0.7896 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/1.117, allocations: 20.08 kB / 0.7896 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.117, allocations: 0 / 0.7896 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/1.121, allocations: 1.581 MB / 0.7911 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/1.122, allocations: 308.2 kB / 0.7914 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/1.122, allocations: 20.12 kB / 0.7914 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.123, allocations: 83.84 kB / 0.7915 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.123, allocations: 60.25 kB / 0.7916 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.123, allocations: 35.97 kB / 0.7916 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001447/1.125, allocations: 0.6703 MB / 0.7923 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.125, allocations: 0 / 0.7923 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002622/1.128, allocations: 0.62 MB / 0.7929 GB, free: 1.457 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.0008517/1.128, allocations: 210.3 kB / 0.7931 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003099/1.132, allocations: 1.221 MB / 0.7943 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.132, allocations: 4 kB / 0.7943 GB, free: 20 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.133, allocations: 443.8 kB / 0.7947 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/1.136, allocations: 0.7051 MB / 0.7954 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/1.142, allocations: 2.419 MB / 0.7977 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.143, allocations: 1.171 MB / 0.7989 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001564/1.144, allocations: 321.1 kB / 0.7992 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/1.145, allocations: 95.41 kB / 0.7993 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/1.145, allocations: 0 / 0.7993 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05036/1.195, allocations: 25.03 MB / 0.8237 GB, free: 1.93 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)