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.2846/0.2846, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.00118/0.00118, allocations: 177.2 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.694/1.694, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.001587/0.001587, allocations: 116.4 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.268e-05, allocations: 8 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.363/5.488, allocations: 2.12 GB / 2.579 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/5.488, allocations: 83.31 kB / 2.579 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7252/6.214, allocations: 215.2 MB / 2.789 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/6.214, allocations: 0 / 2.789 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.056e-05/6.214, allocations: 17.22 kB / 2.789 GB, free: 118.9 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.001107/6.215, allocations: 0.643 MB / 2.79 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/6.215, allocations: 8.375 kB / 2.79 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/6.215, allocations: 52.8 kB / 2.79 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/6.216, allocations: 330.4 kB / 2.79 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/6.216, allocations: 18.38 kB / 2.79 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/6.216, allocations: 28.48 kB / 2.79 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/6.217, allocations: 332.4 kB / 2.791 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/6.217, allocations: 3.938 kB / 2.791 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/6.217, allocations: 12.69 kB / 2.791 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/6.217, allocations: 10.5 kB / 2.791 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/6.217, allocations: 263.3 kB / 2.791 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/6.219, allocations: 1.08 MB / 2.792 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/6.219, allocations: 142.4 kB / 2.792 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/6.219, allocations: 55.05 kB / 2.792 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/6.22, allocations: 4.656 kB / 2.792 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/6.22, allocations: 40.16 kB / 2.792 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/6.22, allocations: 2.906 kB / 2.792 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0008558/6.22, allocations: 250.2 kB / 2.792 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/6.22, allocations: 54.69 kB / 2.792 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/6.221, allocations: 335.1 kB / 2.793 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/6.221, allocations: 25.7 kB / 2.793 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/6.221, allocations: 199.6 kB / 2.793 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/6.221, allocations: 40.66 kB / 2.793 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/6.221, allocations: 7.219 kB / 2.793 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.575e-05/6.221, allocations: 336.5 kB / 2.793 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/6.221, allocations: 53.25 kB / 2.793 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/6.221, allocations: 112.7 kB / 2.793 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.942e-05/6.221, allocations: 67.72 kB / 2.793 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/6.221, allocations: 2.344 kB / 2.793 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002753/6.222, allocations: 209.1 kB / 2.794 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/6.222, allocations: 0.6169 MB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/6.222, allocations: 3.938 kB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/6.222, allocations: 0 / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/6.222, allocations: 60.91 kB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/6.222, allocations: 4.125 kB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/6.222, allocations: 61.91 kB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/6.222, allocations: 7.312 kB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/6.222, allocations: 3.906 kB / 2.794 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001948/6.223, allocations: 142.5 kB / 2.795 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/6.223, allocations: 3.812 kB / 2.795 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/6.223, allocations: 7.156 kB / 2.795 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/6.223, allocations: 37.56 kB / 2.795 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/6.223, allocations: 7.812 kB / 2.795 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/6.223, allocations: 39.42 kB / 2.795 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/6.223, allocations: 11.83 kB / 2.795 GB, free: 116.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 6.97e-05/6.223, allocations: 115.9 kB / 2.795 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/6.223, allocations: 33.12 kB / 2.795 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/6.223, allocations: 31.94 kB / 2.795 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/6.223, allocations: 3.969 kB / 2.795 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.223, allocations: 0 / 2.795 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/6.223, allocations: 3.844 kB / 2.795 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/6.224, allocations: 0.6356 MB / 2.795 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/6.224, allocations: 0 / 2.795 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/6.224, allocations: 46.67 kB / 2.796 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/6.224, allocations: 3.625 kB / 2.796 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/6.224, allocations: 3.953 kB / 2.796 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/6.224, allocations: 7.672 kB / 2.796 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/6.224, allocations: 3.688 kB / 2.796 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/6.225, allocations: 363.3 kB / 2.796 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/6.225, allocations: 142.4 kB / 2.796 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/6.225, allocations: 3.953 kB / 2.796 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/6.225, allocations: 48.31 kB / 2.796 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/6.225, allocations: 12.53 kB / 2.796 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/6.225, allocations: 17.06 kB / 2.796 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002081/6.225, allocations: 261.6 kB / 2.796 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.225, allocations: 0 / 2.796 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007648/6.226, allocations: 235.8 kB / 2.797 GB, free: 115.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.001116/6.227, allocations: 0.884 MB / 2.797 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003448/6.228, allocations: 212.5 kB / 2.798 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/6.228, allocations: 0 / 2.798 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.344e-05/6.228, allocations: 65.8 kB / 2.798 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/6.229, allocations: 203.7 kB / 2.798 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/6.229, allocations: 378.3 kB / 2.798 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/6.23, allocations: 0.7967 MB / 2.799 GB, free: 114 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004065/6.23, allocations: 119.5 kB / 2.799 GB, free: 114 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/6.23, allocations: 23.09 kB / 2.799 GB, free: 114 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/6.23, allocations: 0 / 2.799 GB, free: 114 MB / 0.4948 GB Notification: Performance of Templates: time 0.02438/6.254, allocations: 20.35 MB / 2.819 GB, free: 112.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)