Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3651/0.3651, allocations: 55.01 MB / 69.96 MB, free: 8.676 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.00158/0.001581, allocations: 190.6 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.23/2.23, allocations: 194.4 MB / 292.3 MB, free: 3.598 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001994/0.001994, allocations: 112.1 kB / 350.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 15.98 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.506/5.672, allocations: 2.12 GB / 2.585 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/5.672, allocations: 86.39 kB / 2.585 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7319/6.404, allocations: 215.5 MB / 2.796 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/6.404, allocations: 0 / 2.796 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.554e-05/6.404, allocations: 12 kB / 2.796 GB, free: 1.078 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001407/6.406, allocations: 0.6779 MB / 2.796 GB, free: 356 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/6.406, allocations: 8.031 kB / 2.796 GB, free: 348 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/6.406, allocations: 51.52 kB / 2.797 GB, free: 296 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3684/6.774, allocations: 340.2 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/6.774, allocations: 20.47 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/6.775, allocations: 26.5 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/6.776, allocations: 380.8 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/6.776, allocations: 0.9844 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/6.776, allocations: 18.02 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/6.776, allocations: 9.406 kB / 2.797 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/6.777, allocations: 329.5 kB / 2.798 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/6.78, allocations: 1.07 MB / 2.799 GB, free: 125 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/6.781, allocations: 191.8 kB / 2.799 GB, free: 125 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/6.781, allocations: 1.891 kB / 2.799 GB, free: 125 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/6.781, allocations: 35.03 kB / 2.799 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 4.569e-06/6.781, allocations: 1.531 kB / 2.799 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001752/6.783, allocations: 395.8 kB / 2.799 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/6.783, allocations: 53.34 kB / 2.799 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/6.783, allocations: 333.8 kB / 2.8 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/6.783, allocations: 32.55 kB / 2.8 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/6.784, allocations: 197 kB / 2.8 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/6.784, allocations: 40.89 kB / 2.8 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/6.784, allocations: 3.875 kB / 2.8 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001429/6.784, allocations: 343.5 kB / 2.8 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/6.784, allocations: 98.52 kB / 2.8 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/6.785, allocations: 153.8 kB / 2.8 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/6.785, allocations: 108 kB / 2.801 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/6.785, allocations: 0.9062 kB / 2.801 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008215/6.786, allocations: 298.4 kB / 2.801 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/6.786, allocations: 0.6171 MB / 2.801 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/6.786, allocations: 6.266 kB / 2.801 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/6.786, allocations: 3.188 kB / 2.801 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/6.786, allocations: 60.42 kB / 2.801 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/6.786, allocations: 3.328 kB / 2.801 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/6.787, allocations: 63.47 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/6.787, allocations: 11.75 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/6.787, allocations: 3.062 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004455/6.787, allocations: 184.3 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/6.787, allocations: 1.25 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/6.787, allocations: 3.359 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/6.788, allocations: 41.3 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/6.788, allocations: 3.938 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/6.788, allocations: 42.47 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/6.788, allocations: 5.5 kB / 2.802 GB, free: 123.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.0002892/6.788, allocations: 239.6 kB / 2.802 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/6.788, allocations: 33.16 kB / 2.802 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/6.788, allocations: 40.16 kB / 2.802 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/6.788, allocations: 2.234 kB / 2.802 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/6.788, allocations: 0 / 2.802 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/6.788, allocations: 3.562 kB / 2.802 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/6.79, allocations: 0.7142 MB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/6.79, allocations: 4.25 kB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/6.79, allocations: 49.44 kB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/6.79, allocations: 2.562 kB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/6.79, allocations: 6.516 kB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/6.79, allocations: 8.828 kB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/6.79, allocations: 5.188 kB / 2.803 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/6.791, allocations: 455.4 kB / 2.803 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/6.791, allocations: 133.9 kB / 2.803 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/6.791, allocations: 6.625 kB / 2.803 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/6.792, allocations: 41.91 kB / 2.804 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/6.792, allocations: 12.08 kB / 2.804 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/6.792, allocations: 20.16 kB / 2.804 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003412/6.792, allocations: 269.5 kB / 2.804 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/6.792, allocations: 0 / 2.804 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001076/6.793, allocations: 226.7 kB / 2.804 GB, free: 122.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (11): * Single equations (assignments): 11 * 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.001858/6.795, allocations: 0.8868 MB / 2.805 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001028/6.796, allocations: 305.9 kB / 2.805 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/6.796, allocations: 1.625 kB / 2.805 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/6.797, allocations: 107.1 kB / 2.805 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/6.798, allocations: 192 kB / 2.805 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/6.799, allocations: 0.7053 MB / 2.806 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/6.799, allocations: 0.7952 MB / 2.807 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003937/6.8, allocations: 82.97 kB / 2.807 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/6.8, allocations: 25.62 kB / 2.807 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/6.8, allocations: 0 / 2.807 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.03555/6.835, allocations: 17.41 MB / 2.824 GB, free: 120.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)