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.0008203/0.0008206, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006712/0.006712, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.604/1.604, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4393/0.4393, allocations: 55.01 MB / 325.7 MB, free: 0.543 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.0006003/0.0006003, allocations: 16 kB / 397.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.464, allocations: 60.72 MB / 458 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.6592/1.123, allocations: 234.6 MB / 0.6763 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01058/1.134, allocations: 6.851 MB / 0.683 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/1.136, allocations: 44.56 kB / 0.683 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/1.138, allocations: 0.6897 MB / 0.6837 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006257/1.145, allocations: 1.765 MB / 0.6854 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/1.151, allocations: 1.812 MB / 0.6872 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01082/1.161, allocations: 5.126 MB / 0.6922 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/1.164, allocations: 0.9791 MB / 0.6932 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/1.17, allocations: 1.547 MB / 0.6947 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/1.174, allocations: 1.106 MB / 0.6958 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000343/1.174, allocations: 57.66 kB / 0.6958 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006521/1.18, allocations: 2.364 MB / 0.6981 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.181, allocations: 484.3 kB / 0.6986 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/1.183, allocations: 0.764 MB / 0.6993 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005301/1.189, allocations: 2.886 MB / 0.7022 GB, free: 16.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.189, allocations: 0 / 0.7022 GB, free: 16.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.896e-06/1.189, allocations: 0 / 0.7022 GB, free: 16.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.105e-05/1.189, allocations: 6.844 kB / 0.7022 GB, free: 16.87 MB / 0.5137 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.002744/1.192, allocations: 1.574 MB / 0.7037 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.192, allocations: 8.125 kB / 0.7037 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/1.194, allocations: 409 kB / 0.7041 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/1.196, allocations: 1.006 MB / 0.7051 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/1.196, allocations: 75.12 kB / 0.7051 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/1.196, allocations: 99.59 kB / 0.7052 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/1.199, allocations: 1.334 MB / 0.7065 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/1.199, allocations: 0 / 0.7065 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/1.199, allocations: 42.84 kB / 0.7066 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/1.199, allocations: 39.97 kB / 0.7066 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/1.202, allocations: 1.249 MB / 0.7078 GB, free: 14.67 MB / 0.5137 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.005602/1.208, allocations: 4.288 MB / 0.712 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/1.211, allocations: 1.409 MB / 0.7134 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/1.211, allocations: 372 kB / 0.7138 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/1.212, allocations: 138.5 kB / 0.7139 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.212, allocations: 47.09 kB / 0.7139 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=63): time 2.574e-06/1.212, allocations: 0 / 0.7139 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=63): time 0.004635/1.216, allocations: 1.504 MB / 0.7154 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.217, allocations: 60.22 kB / 0.7155 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.218, allocations: 0.959 MB / 0.7164 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/1.218, allocations: 43.77 kB / 0.7164 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/1.218, allocations: 0.5345 MB / 0.717 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.218, allocations: 225.3 kB / 0.7172 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/1.219, allocations: 68.23 kB / 0.7172 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/1.219, allocations: 327.9 kB / 0.7176 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/1.219, allocations: 384.9 kB / 0.7179 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/1.22, allocations: 0.5135 MB / 0.7184 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.222, allocations: 0.8607 MB / 0.7193 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.222, allocations: 0 / 0.7193 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002263/1.224, allocations: 1.039 MB / 0.7203 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.917e-05/1.225, allocations: 146.7 kB / 0.7204 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.225, allocations: 0 / 0.7204 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.225, allocations: 12.83 kB / 0.7204 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/1.226, allocations: 204.9 kB / 0.7206 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.226, allocations: 8.891 kB / 0.7206 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.227, allocations: 192.5 kB / 0.7208 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/1.227, allocations: 19.94 kB / 0.7208 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/1.227, allocations: 8.594 kB / 0.7208 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/1.228, allocations: 0.7136 MB / 0.7215 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.228, allocations: 2.531 kB / 0.7215 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/1.228, allocations: 10.38 kB / 0.7216 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/1.229, allocations: 159 kB / 0.7217 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.229, allocations: 6.547 kB / 0.7217 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/1.23, allocations: 141 kB / 0.7218 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/1.23, allocations: 22.72 kB / 0.7219 GB, free: 8.301 MB / 0.5137 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.0007069/1.231, allocations: 415.1 kB / 0.7223 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.231, allocations: 111.2 kB / 0.7224 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/1.233, allocations: 1.001 MB / 0.7234 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.233, allocations: 14.14 kB / 0.7234 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.233, allocations: 0 / 0.7234 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/1.235, allocations: 1.144 MB / 0.7245 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/1.239, allocations: 2.619 MB / 0.727 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.239, allocations: 6.562 kB / 0.727 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/1.24, allocations: 198.3 kB / 0.7272 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.24, allocations: 6.562 kB / 0.7272 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/1.24, allocations: 17.47 kB / 0.7273 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.24, allocations: 5.906 kB / 0.7273 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.24, allocations: 2.938 kB / 0.7273 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/1.243, allocations: 1.657 MB / 0.7289 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/1.244, allocations: 303.4 kB / 0.7292 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.244, allocations: 21.17 kB / 0.7292 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.245, allocations: 151.3 kB / 0.7293 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.245, allocations: 54.81 kB / 0.7294 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/1.246, allocations: 43.27 kB / 0.7294 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008518/1.246, allocations: 0.6646 MB / 0.7301 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.246, allocations: 0 / 0.7301 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001404/1.248, allocations: 0.6147 MB / 0.7307 GB, free: 3.406 MB / 0.5137 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.0004796/1.248, allocations: 227.1 kB / 0.7309 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00275/1.251, allocations: 1.272 MB / 0.7321 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.251, allocations: 4 kB / 0.7321 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.252, allocations: 471.3 kB / 0.7326 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/1.256, allocations: 0.7207 MB / 0.7333 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/1.26, allocations: 2.976 MB / 0.7362 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/1.261, allocations: 1.166 MB / 0.7373 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001383/1.262, allocations: 318.8 kB / 0.7376 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/1.263, allocations: 97.97 kB / 0.7377 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/1.263, allocations: 0 / 0.7377 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.04098/1.304, allocations: 24 MB / 0.7612 GB, free: 5.301 MB / 0.545 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: