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.001567/0.001567, allocations: 108 kB / 16.41 MB, free: 6.027 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.00185/0.00185, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8141/0.8141, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.02 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1493, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01824/0.1676, allocations: 15.05 MB / 0.68 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005933/0.1736, allocations: 3.883 MB / 0.6838 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007854/0.1744, allocations: 23.88 kB / 0.6838 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.1752, allocations: 190.7 kB / 0.684 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.1776, allocations: 0.6802 MB / 0.6846 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.1792, allocations: 477 kB / 0.6851 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.1812, allocations: 1.083 MB / 0.6862 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.1819, allocations: 281.6 kB / 0.6864 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009551/0.1828, allocations: 414.4 kB / 0.6868 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005139/0.1834, allocations: 262.8 kB / 0.6871 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.1834, allocations: 24 kB / 0.6871 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.185, allocations: 0.7135 MB / 0.6878 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1852, allocations: 83.61 kB / 0.6879 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.1854, allocations: 183 kB / 0.688 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.1869, allocations: 0.7284 MB / 0.6888 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1869, allocations: 0 / 0.6888 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.707e-06/0.1869, allocations: 0 / 0.6888 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.1869, allocations: 3.938 kB / 0.6888 GB, free: 13.67 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.001317/0.1882, allocations: 0.7396 MB / 0.6895 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1883, allocations: 17.09 kB / 0.6895 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.1884, allocations: 44.47 kB / 0.6895 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.1895, allocations: 0.5088 MB / 0.69 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1896, allocations: 16.31 kB / 0.6901 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1896, allocations: 20 kB / 0.6901 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.19, allocations: 180.2 kB / 0.6902 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.19, allocations: 0 / 0.6902 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.19, allocations: 7.938 kB / 0.6902 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1901, allocations: 4 kB / 0.6903 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1904, allocations: 136.2 kB / 0.6904 GB, free: 11.91 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.001154/0.1916, allocations: 0.8683 MB / 0.6912 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1918, allocations: 122.6 kB / 0.6913 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.192, allocations: 76.75 kB / 0.6914 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.1923, allocations: 336.4 kB / 0.6917 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1923, allocations: 30.56 kB / 0.6918 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.1923, allocations: 4 kB / 0.6918 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000586/0.1929, allocations: 213.1 kB / 0.692 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.193, allocations: 59.34 kB / 0.692 GB, free: 10 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1933, allocations: 345.7 kB / 0.6924 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1934, allocations: 33.7 kB / 0.6924 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1935, allocations: 192.2 kB / 0.6926 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.1935, allocations: 39.45 kB / 0.6926 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.1936, allocations: 33.7 kB / 0.6926 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1937, allocations: 342.8 kB / 0.693 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1939, allocations: 48.83 kB / 0.693 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.194, allocations: 96.25 kB / 0.6931 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1943, allocations: 117.6 kB / 0.6932 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1943, allocations: 0 / 0.6932 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004111/0.1948, allocations: 185 kB / 0.6934 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1948, allocations: 4 kB / 0.6934 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1948, allocations: 0 / 0.6934 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1948, allocations: 4 kB / 0.6934 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.195, allocations: 23.98 kB / 0.6934 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.195, allocations: 3.984 kB / 0.6934 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.1952, allocations: 19.92 kB / 0.6935 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.1952, allocations: 4 kB / 0.6935 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002281/0.1955, allocations: 160.2 kB / 0.6936 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001638/0.1956, allocations: 92.06 kB / 0.6937 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002466/0.1959, allocations: 113.6 kB / 0.6938 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.1959, allocations: 0 / 0.6938 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000406/0.1963, allocations: 181.1 kB / 0.694 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1963, allocations: 8 kB / 0.694 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.1963, allocations: 0 / 0.694 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-06/0.1963, allocations: 0 / 0.694 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1965, allocations: 23.98 kB / 0.694 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.1965, allocations: 0 / 0.694 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1967, allocations: 19.88 kB / 0.694 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1967, allocations: 8 kB / 0.694 GB, free: 7.852 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.0001119/0.1968, allocations: 192.3 kB / 0.6942 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.1969, allocations: 35.56 kB / 0.6943 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.1974, allocations: 240.3 kB / 0.6945 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1974, allocations: 96 / 0.6945 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1974, allocations: 0 / 0.6945 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1974, allocations: 3.984 kB / 0.6945 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.1983, allocations: 0.6399 MB / 0.6951 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.1984, allocations: 3.984 kB / 0.6951 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1985, allocations: 23.98 kB / 0.6951 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1985, allocations: 0 / 0.6951 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1985, allocations: 4 kB / 0.6951 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1985, allocations: 96 / 0.6951 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1985, allocations: 4 kB / 0.6951 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.199, allocations: 317.5 kB / 0.6955 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.1991, allocations: 128.7 kB / 0.6956 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.1992, allocations: 12 kB / 0.6956 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1994, allocations: 19.97 kB / 0.6956 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1994, allocations: 11.92 kB / 0.6956 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1995, allocations: 8 kB / 0.6956 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002534/0.1997, allocations: 247.2 kB / 0.6959 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1997, allocations: 0 / 0.6959 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006113/0.2003, allocations: 187.7 kB / 0.696 GB, free: 5.688 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.0005644/0.2009, allocations: 250.9 kB / 0.6963 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.2015, allocations: 187.9 kB / 0.6965 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2015, allocations: 4 kB / 0.6965 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.2017, allocations: 76.08 kB / 0.6965 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.2025, allocations: 153.3 kB / 0.6967 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.2034, allocations: 0.5921 MB / 0.6973 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.2038, allocations: 0.7918 MB / 0.698 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.2039, allocations: 31.44 kB / 0.6981 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2039, allocations: 3.938 kB / 0.6981 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of Templates: time 0.009821/0.2137, allocations: 5.791 MB / 0.7037 GB, free: 13.8 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)