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.4187/0.4187, allocations: 54.41 MB / 61.89 MB, free: 13.74 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.001141/0.001141, allocations: 180.1 kB / 75.61 MB, free: 0.7734 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.728/1.728, allocations: 194.3 MB / 283.5 MB, free: 14.8 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.001674/0.001674, allocations: 98.83 kB / 341.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.563e-05, allocations: 4.219 kB / 405.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4049, allocations: 57.65 MB / 463.1 MB, free: 51.83 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.644/6.049, allocations: 2.119 GB / 2.572 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/6.049, allocations: 83 kB / 2.572 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7958/6.845, allocations: 212.4 MB / 2.779 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.976e-06/6.845, allocations: 0 / 2.779 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.638e-05/6.845, allocations: 11.53 kB / 2.779 GB, free: 123.8 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.002423/6.848, allocations: 0.6493 MB / 2.78 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/6.848, allocations: 12.77 kB / 2.78 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/6.848, allocations: 52.94 kB / 2.78 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/6.849, allocations: 330.9 kB / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/6.849, allocations: 8.281 kB / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/6.849, allocations: 20.67 kB / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005379/6.85, allocations: 196.9 kB / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/6.85, allocations: 235.2 kB / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/6.85, allocations: 0 / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/6.851, allocations: 1.031 kB / 2.78 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/6.851, allocations: 7.031 kB / 2.781 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/6.853, allocations: 0.9752 MB / 2.781 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/6.853, allocations: 83.89 kB / 2.782 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/6.853, allocations: 56.47 kB / 2.782 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/6.853, allocations: 1.875 kB / 2.782 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/6.853, allocations: 43.03 kB / 2.782 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/6.853, allocations: 0 / 2.782 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007999/6.854, allocations: 183.8 kB / 2.782 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/6.854, allocations: 52.44 kB / 2.782 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/6.854, allocations: 219.4 kB / 2.782 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/6.854, allocations: 27.08 kB / 2.782 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/6.855, allocations: 209 kB / 2.782 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/6.855, allocations: 37.16 kB / 2.782 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/6.855, allocations: 7.312 kB / 2.782 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/6.855, allocations: 334.6 kB / 2.783 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/6.855, allocations: 49.86 kB / 2.783 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/6.855, allocations: 112.4 kB / 2.783 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/6.855, allocations: 57.77 kB / 2.783 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/6.855, allocations: 0 / 2.783 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003267/6.856, allocations: 189.9 kB / 2.783 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/6.856, allocations: 0.6142 MB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/6.856, allocations: 8.328 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/6.856, allocations: 3.469 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/6.856, allocations: 51.75 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/6.856, allocations: 9.5 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/6.856, allocations: 45.52 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/6.856, allocations: 4.906 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/6.857, allocations: 4.625 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002227/6.857, allocations: 128 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/6.857, allocations: 1.406 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/6.857, allocations: 2.594 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/6.857, allocations: 44.95 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/6.857, allocations: 6.109 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/6.857, allocations: 25.78 kB / 2.784 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/6.857, allocations: 5.875 kB / 2.784 GB, free: 121.1 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 () * 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 8.174e-05/6.857, allocations: 117.6 kB / 2.784 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/6.857, allocations: 23.84 kB / 2.784 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/6.857, allocations: 28.66 kB / 2.784 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/6.857, allocations: 1.125 kB / 2.784 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/6.857, allocations: 0 / 2.784 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/6.857, allocations: 2.109 kB / 2.784 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/6.858, allocations: 0.5725 MB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/6.858, allocations: 1.406 kB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/6.859, allocations: 48.27 kB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/6.859, allocations: 2.375 kB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/6.859, allocations: 3.266 kB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/6.859, allocations: 3.031 kB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/6.859, allocations: 2.5 kB / 2.785 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/6.859, allocations: 359.8 kB / 2.785 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/6.859, allocations: 130.7 kB / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/6.859, allocations: 2.5 kB / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/6.86, allocations: 36.66 kB / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/6.86, allocations: 18.61 kB / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/6.86, allocations: 12.55 kB / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001595/6.86, allocations: 177 kB / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.86, allocations: 0 / 2.785 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008558/6.861, allocations: 221.5 kB / 2.786 GB, free: 120.1 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 () * 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.001564/6.862, allocations: 1.005 MB / 2.787 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004129/6.863, allocations: 194.2 kB / 2.787 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/6.863, allocations: 0 / 2.787 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/6.863, allocations: 62.2 kB / 2.787 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/6.864, allocations: 117 kB / 2.787 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/6.864, allocations: 365.6 kB / 2.787 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/6.865, allocations: 0.8006 MB / 2.788 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000366/6.865, allocations: 74.25 kB / 2.788 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/6.865, allocations: 30.97 kB / 2.788 GB, free: 119 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/6.865, allocations: 0 / 2.788 GB, free: 119 MB / 0.4948 GB Notification: Performance of Templates: time 0.01509/6.88, allocations: 9.961 MB / 2.798 GB, free: 118.5 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)