Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 103.7 kB / 16.41 MB, free: 6.469 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.001244/0.001244, allocations: 189.7 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8574/0.8574, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 60.16 kB / 0.5863 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1582, allocations: 80.94 MB / 0.6654 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01765/0.1759, allocations: 15.07 MB / 0.6801 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006207/0.1821, allocations: 3.884 MB / 0.6839 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005349/0.1826, allocations: 23.81 kB / 0.6839 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.1833, allocations: 198.6 kB / 0.6841 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1851, allocations: 0.6998 MB / 0.6848 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.1864, allocations: 481.2 kB / 0.6852 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.188, allocations: 1.091 MB / 0.6863 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.1884, allocations: 241.6 kB / 0.6865 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007184/0.1891, allocations: 418.3 kB / 0.6869 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.1895, allocations: 262.8 kB / 0.6872 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.1896, allocations: 20 kB / 0.6872 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1908, allocations: 0.7212 MB / 0.6879 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1909, allocations: 79.56 kB / 0.688 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.1911, allocations: 183 kB / 0.6881 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.1923, allocations: 0.7317 MB / 0.6889 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1923, allocations: 0 / 0.6889 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1923, allocations: 0 / 0.6889 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.1923, allocations: 4 kB / 0.6889 GB, free: 13.56 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001309/0.1936, allocations: 0.7621 MB / 0.6896 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1936, allocations: 13.11 kB / 0.6896 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1937, allocations: 44.66 kB / 0.6897 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1948, allocations: 0.5131 MB / 0.6902 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1948, allocations: 12.33 kB / 0.6902 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1948, allocations: 16 kB / 0.6902 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.1952, allocations: 184.1 kB / 0.6904 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1952, allocations: 4 kB / 0.6904 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1953, allocations: 8 kB / 0.6904 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1953, allocations: 4 kB / 0.6904 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.1956, allocations: 136.2 kB / 0.6905 GB, free: 11.78 MB / 0.5294 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.001255/0.1969, allocations: 0.8685 MB / 0.6914 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1972, allocations: 114.6 kB / 0.6915 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1973, allocations: 76.69 kB / 0.6915 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.1977, allocations: 336.4 kB / 0.6919 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1977, allocations: 38.5 kB / 0.6919 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.1977, allocations: 0 / 0.6919 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006143/0.1983, allocations: 221.3 kB / 0.6921 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1984, allocations: 51.41 kB / 0.6922 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.1988, allocations: 345.7 kB / 0.6925 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1988, allocations: 29.7 kB / 0.6925 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.199, allocations: 196.5 kB / 0.6927 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.199, allocations: 39.59 kB / 0.6927 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.1991, allocations: 41.64 kB / 0.6928 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1993, allocations: 342.8 kB / 0.6931 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1994, allocations: 48.83 kB / 0.6931 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1996, allocations: 96.17 kB / 0.6932 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1999, allocations: 109.7 kB / 0.6933 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1999, allocations: 0 / 0.6933 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004184/0.2003, allocations: 181.3 kB / 0.6935 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2003, allocations: 8 kB / 0.6935 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2003, allocations: 4 kB / 0.6935 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2003, allocations: 96 / 0.6935 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2005, allocations: 35.84 kB / 0.6936 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2005, allocations: 0 / 0.6936 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2007, allocations: 23.94 kB / 0.6936 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2007, allocations: 4 kB / 0.6936 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002412/0.201, allocations: 156.1 kB / 0.6937 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001851/0.2011, allocations: 88.25 kB / 0.6938 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002638/0.2014, allocations: 109.6 kB / 0.6939 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.2014, allocations: 0 / 0.6939 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003829/0.2018, allocations: 177.3 kB / 0.6941 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.2018, allocations: 8 kB / 0.6941 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.2018, allocations: 0 / 0.6941 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.2018, allocations: 7.938 kB / 0.6941 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2019, allocations: 19.98 kB / 0.6941 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2019, allocations: 7.938 kB / 0.6941 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2021, allocations: 27.86 kB / 0.6942 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2021, allocations: 4 kB / 0.6942 GB, free: 7.711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001341/0.2023, allocations: 192.3 kB / 0.6944 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.2023, allocations: 39.7 kB / 0.6944 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.2029, allocations: 220.7 kB / 0.6946 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.2029, allocations: 4 kB / 0.6946 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2029, allocations: 8.062 kB / 0.6946 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2029, allocations: 3.984 kB / 0.6946 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.2039, allocations: 0.6296 MB / 0.6952 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.2039, allocations: 4 kB / 0.6952 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.204, allocations: 23.92 kB / 0.6953 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.204, allocations: 4 kB / 0.6953 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.204, allocations: 4 kB / 0.6953 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.204, allocations: 4 kB / 0.6953 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.204, allocations: 0 / 0.6953 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.2045, allocations: 331.1 kB / 0.6956 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2047, allocations: 124.9 kB / 0.6957 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.2047, allocations: 11.98 kB / 0.6957 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2049, allocations: 11.98 kB / 0.6957 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.205, allocations: 19.92 kB / 0.6957 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.205, allocations: 4 kB / 0.6957 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002792/0.2053, allocations: 247.2 kB / 0.696 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2053, allocations: 3.938 kB / 0.696 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006214/0.2059, allocations: 195.4 kB / 0.6962 GB, free: 5.539 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005716/0.2064, allocations: 244.5 kB / 0.6964 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005522/0.207, allocations: 195.8 kB / 0.6966 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.207, allocations: 0 / 0.6966 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2072, allocations: 71.89 kB / 0.6967 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008362/0.208, allocations: 137.9 kB / 0.6968 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.209, allocations: 0.5995 MB / 0.6974 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.2094, allocations: 0.7918 MB / 0.6982 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.2095, allocations: 31.44 kB / 0.6982 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.2095, allocations: 0 / 0.6982 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of Templates: time 0.009647/0.2192, allocations: 5.837 MB / 0.7039 GB, free: 13.63 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)