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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3753/0.3753, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001579/0.001579, allocations: 172.1 kB / 75.6 MB, free: 0.7852 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.645/1.645, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001556/0.001556, allocations: 116.7 kB / 341.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.913e-05, allocations: 0 / 405.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4252, allocations: 57.65 MB / 463.1 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.041/5.466, allocations: 2.137 GB / 2.589 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/5.466, allocations: 87.95 kB / 2.589 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.412/8.879, allocations: 0.8349 GB / 3.424 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/8.879, allocations: 0 / 3.424 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002465/8.879, allocations: 44.44 kB / 3.424 GB, free: 53.99 MB / 0.5105 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.005961/8.885, allocations: 1.62 MB / 3.426 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/8.885, allocations: 14.31 kB / 3.426 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/8.889, allocations: 406.6 kB / 3.426 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/8.893, allocations: 1.161 MB / 3.427 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/8.893, allocations: 33.75 kB / 3.427 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/8.893, allocations: 58.75 kB / 3.427 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/8.896, allocations: 0.8265 MB / 3.428 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/8.898, allocations: 0.8317 MB / 3.429 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/8.898, allocations: 0 / 3.429 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/8.899, allocations: 3.188 kB / 3.429 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/8.899, allocations: 34.75 kB / 3.429 GB, free: 52.85 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.007749/8.906, allocations: 3.999 MB / 3.433 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/8.908, allocations: 1.076 MB / 3.434 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/8.908, allocations: 325.8 kB / 3.434 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/8.909, allocations: 123.5 kB / 3.435 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/8.909, allocations: 46.5 kB / 3.435 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=63): time 3.146e-06/8.909, allocations: 0 / 3.435 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.002273/8.911, allocations: 0.7471 MB / 3.435 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/8.911, allocations: 62.44 kB / 3.435 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/8.912, allocations: 0.5983 MB / 3.436 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/8.912, allocations: 28.95 kB / 3.436 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/8.912, allocations: 0.5389 MB / 3.436 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/8.913, allocations: 223.3 kB / 3.437 GB, free: 49.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/8.913, allocations: 3.188 kB / 3.437 GB, free: 49.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/8.913, allocations: 338.8 kB / 3.437 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/8.913, allocations: 246.5 kB / 3.437 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/8.914, allocations: 368.8 kB / 3.438 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/8.914, allocations: 379 kB / 3.438 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/8.914, allocations: 0 / 3.438 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001487/8.916, allocations: 0.8044 MB / 3.439 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/8.916, allocations: 0.6976 MB / 3.439 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/8.916, allocations: 4.156 kB / 3.439 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/8.916, allocations: 7.828 kB / 3.439 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/8.917, allocations: 176.5 kB / 3.44 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/8.917, allocations: 3.969 kB / 3.44 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/8.918, allocations: 123.6 kB / 3.44 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/8.918, allocations: 23.06 kB / 3.44 GB, free: 48.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/8.918, allocations: 9.719 kB / 3.44 GB, free: 48.35 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/8.919, allocations: 0.6532 MB / 3.44 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/8.919, allocations: 3.625 kB / 3.44 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/8.919, allocations: 7.625 kB / 3.44 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/8.92, allocations: 161.1 kB / 3.441 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/8.92, allocations: 7 kB / 3.441 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/8.921, allocations: 107.8 kB / 3.441 GB, free: 48.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/8.921, allocations: 25.16 kB / 3.441 GB, free: 48.31 MB / 0.5105 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 () * 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.0002391/8.922, allocations: 122.1 kB / 3.441 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/8.922, allocations: 99.59 kB / 3.441 GB, free: 48.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/8.923, allocations: 0.7606 MB / 3.442 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/8.923, allocations: 10.11 kB / 3.442 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.923, allocations: 0 / 3.442 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/8.924, allocations: 0.9317 MB / 3.443 GB, free: 47.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/8.928, allocations: 2.135 MB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/8.928, allocations: 3.844 kB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/8.929, allocations: 170.6 kB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/8.929, allocations: 7.797 kB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/8.929, allocations: 10.78 kB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/8.929, allocations: 16.12 kB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/8.929, allocations: 3.906 kB / 3.445 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/8.931, allocations: 1.417 MB / 3.446 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/8.932, allocations: 276.2 kB / 3.447 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/8.932, allocations: 6.875 kB / 3.447 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/8.933, allocations: 103.8 kB / 3.447 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/8.934, allocations: 55.98 kB / 3.447 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/8.934, allocations: 38.78 kB / 3.447 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006384/8.934, allocations: 467.2 kB / 3.447 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/8.934, allocations: 1.375 kB / 3.447 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002629/8.937, allocations: 0.7543 MB / 3.448 GB, free: 46.2 MB / 0.5105 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 () * 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.004312/8.941, allocations: 2.564 MB / 3.45 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001678/8.943, allocations: 0.9672 MB / 3.451 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/8.943, allocations: 0 / 3.451 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004995/8.943, allocations: 328.4 kB / 3.452 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/8.947, allocations: 0.5351 MB / 3.452 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/8.952, allocations: 1.811 MB / 3.454 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/8.954, allocations: 1.193 MB / 3.455 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002458/8.956, allocations: 364.6 kB / 3.455 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/8.956, allocations: 74.59 kB / 3.456 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.474e-06/8.956, allocations: 0 / 3.456 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.05529/9.012, allocations: 32.91 MB / 3.488 GB, free: 41.5 MB / 0.5105 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)