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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8505/0.8505, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 404.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 103.3 kB / 485.9 MB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 56.16 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1524, allocations: 80.44 MB / 0.6421 GB, free: 5.414 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01504/0.1675, allocations: 15 MB / 0.6568 GB, free: 6.352 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005485/0.173, allocations: 3.92 MB / 0.6606 GB, free: 2.422 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.1735, allocations: 19.88 kB / 0.6606 GB, free: 2.402 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.1741, allocations: 159 kB / 0.6608 GB, free: 2.246 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.1757, allocations: 0.6118 MB / 0.6614 GB, free: 1.633 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.177, allocations: 425.8 kB / 0.6618 GB, free: 1.223 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1786, allocations: 1.38 MB / 0.6631 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.179, allocations: 241.1 kB / 0.6634 GB, free: 15.6 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.1796, allocations: 374.3 kB / 0.6637 GB, free: 15.23 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.1799, allocations: 270.8 kB / 0.664 GB, free: 14.96 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.18, allocations: 12 kB / 0.664 GB, free: 14.95 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1812, allocations: 0.7016 MB / 0.6647 GB, free: 14.25 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1813, allocations: 63.64 kB / 0.6647 GB, free: 14.19 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1814, allocations: 179 kB / 0.6649 GB, free: 14.01 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008434/0.1823, allocations: 0.705 MB / 0.6656 GB, free: 13.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1823, allocations: 0 / 0.6656 GB, free: 13.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1823, allocations: 0 / 0.6656 GB, free: 13.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1823, allocations: 3.938 kB / 0.6656 GB, free: 13.3 MB / 474.7 MB 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.001065/0.1834, allocations: 0.7436 MB / 0.6663 GB, free: 12.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1835, allocations: 8.031 kB / 0.6663 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.1835, allocations: 48.38 kB / 0.6664 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.1844, allocations: 0.4933 MB / 0.6669 GB, free: 11.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1844, allocations: 12.33 kB / 0.6669 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.1845, allocations: 20 kB / 0.6669 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.1848, allocations: 176.2 kB / 0.6671 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1848, allocations: 0 / 0.6671 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1849, allocations: 8 kB / 0.6671 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1849, allocations: 8 kB / 0.6671 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.1852, allocations: 139.8 kB / 0.6672 GB, free: 11.56 MB / 474.7 MB 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.001057/0.1863, allocations: 0.8605 MB / 0.668 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.1865, allocations: 114.6 kB / 0.6682 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1867, allocations: 72.81 kB / 0.6682 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.187, allocations: 348.3 kB / 0.6686 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1871, allocations: 34.56 kB / 0.6686 GB, free: 9.949 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1871, allocations: 0 / 0.6686 GB, free: 9.949 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005651/0.1876, allocations: 221 kB / 0.6688 GB, free: 9.727 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1877, allocations: 51.41 kB / 0.6689 GB, free: 9.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.188, allocations: 345.7 kB / 0.6692 GB, free: 9.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1881, allocations: 33.7 kB / 0.6692 GB, free: 9.281 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1882, allocations: 196.2 kB / 0.6694 GB, free: 9.086 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1882, allocations: 39.45 kB / 0.6694 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.1883, allocations: 29.72 kB / 0.6695 GB, free: 9.012 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1884, allocations: 342.8 kB / 0.6698 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1886, allocations: 56.77 kB / 0.6698 GB, free: 8.609 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.1887, allocations: 96.23 kB / 0.6699 GB, free: 8.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.189, allocations: 113.6 kB / 0.67 GB, free: 8.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.189, allocations: 0 / 0.67 GB, free: 8.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003514/0.1894, allocations: 181.1 kB / 0.6702 GB, free: 8.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1894, allocations: 4 kB / 0.6702 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1894, allocations: 3.984 kB / 0.6702 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1894, allocations: 4 kB / 0.6702 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1896, allocations: 27.92 kB / 0.6703 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1896, allocations: 3.984 kB / 0.6703 GB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1898, allocations: 35.81 kB / 0.6703 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1898, allocations: 4 kB / 0.6703 GB, free: 8.117 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000206/0.19, allocations: 156.1 kB / 0.6705 GB, free: 7.961 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001455/0.1902, allocations: 84.19 kB / 0.6705 GB, free: 7.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002419/0.1904, allocations: 121.6 kB / 0.6706 GB, free: 7.738 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.1905, allocations: 0 / 0.6706 GB, free: 7.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003224/0.1908, allocations: 173.2 kB / 0.6708 GB, free: 7.562 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1908, allocations: 11.94 kB / 0.6708 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.1908, allocations: 0 / 0.6708 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-06/0.1908, allocations: 0 / 0.6708 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1909, allocations: 23.98 kB / 0.6708 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/0.1909, allocations: 0 / 0.6708 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1911, allocations: 31.88 kB / 0.6709 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1912, allocations: 8 kB / 0.6709 GB, free: 7.488 MB / 474.7 MB 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 8.979e-05/0.1913, allocations: 189.5 kB / 0.6711 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.1913, allocations: 35.56 kB / 0.6711 GB, free: 7.262 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.1918, allocations: 225.6 kB / 0.6713 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1918, allocations: 0 / 0.6713 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1918, allocations: 4 kB / 0.6713 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1918, allocations: 3.984 kB / 0.6713 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000836/0.1927, allocations: 0.6335 MB / 0.6719 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1927, allocations: 0 / 0.6719 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1928, allocations: 27.92 kB / 0.672 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1928, allocations: 0 / 0.672 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1928, allocations: 4 kB / 0.672 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1928, allocations: 96 / 0.672 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1929, allocations: 8.062 kB / 0.672 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.1937, allocations: 1.002 MB / 0.673 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1938, allocations: 132.5 kB / 0.6731 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1939, allocations: 7.938 kB / 0.6731 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1941, allocations: 27.97 kB / 0.6731 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1942, allocations: 7.984 kB / 0.6731 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1942, allocations: 12 kB / 0.6731 GB, free: 5.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.1944, allocations: 243.2 kB / 0.6734 GB, free: 4.781 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1944, allocations: 0 / 0.6734 GB, free: 4.781 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007721/0.1952, allocations: 191.6 kB / 0.6736 GB, free: 4.594 MB / 474.7 MB 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.000502/0.1957, allocations: 256.2 kB / 0.6738 GB, free: 4.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000501/0.1962, allocations: 179.8 kB / 0.674 GB, free: 4.168 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1962, allocations: 4 kB / 0.674 GB, free: 4.164 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.1964, allocations: 83.83 kB / 0.6741 GB, free: 4.082 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.1973, allocations: 145.2 kB / 0.6742 GB, free: 3.945 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.1982, allocations: 0.8218 MB / 0.675 GB, free: 3.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1986, allocations: 0.7999 MB / 0.6758 GB, free: 2.242 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.1988, allocations: 75.02 kB / 0.6758 GB, free: 2.172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.1989, allocations: 31.44 kB / 0.6759 GB, free: 2.141 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1989, allocations: 0 / 0.6759 GB, free: 2.141 MB / 474.7 MB Notification: Performance of Templates: time 0.0113/0.2102, allocations: 6.412 MB / 0.6821 GB, free: 11.81 MB / 490.7 MB 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)