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.001058/0.001059, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.00118/0.001181, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7935/0.7935, allocations: 135.1 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 71.22 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1671, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01692/0.1841, allocations: 15.06 MB / 0.68 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005797/0.1899, allocations: 3.881 MB / 0.6838 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006734/0.1906, allocations: 23.88 kB / 0.6838 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.1914, allocations: 186.7 kB / 0.684 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.1939, allocations: 0.714 MB / 0.6847 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1953, allocations: 473.1 kB / 0.6851 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.1972, allocations: 1.083 MB / 0.6862 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.1978, allocations: 285.5 kB / 0.6865 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1988, allocations: 410.4 kB / 0.6869 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.1994, allocations: 262.8 kB / 0.6871 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.114e-05/0.1995, allocations: 20 kB / 0.6871 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.201, allocations: 0.7212 MB / 0.6878 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2011, allocations: 71.7 kB / 0.6879 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.2014, allocations: 190.9 kB / 0.6881 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.2028, allocations: 0.7322 MB / 0.6888 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2028, allocations: 3.938 kB / 0.6888 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.075e-06/0.2028, allocations: 4 kB / 0.6888 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.2029, allocations: 3.938 kB / 0.6888 GB, free: 13.66 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.001509/0.2044, allocations: 0.7396 MB / 0.6895 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2044, allocations: 13.11 kB / 0.6895 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2045, allocations: 40.47 kB / 0.6896 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.2056, allocations: 0.5049 MB / 0.6901 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2057, allocations: 20.31 kB / 0.6901 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.2057, allocations: 16 kB / 0.6901 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.2061, allocations: 180.2 kB / 0.6903 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2061, allocations: 0 / 0.6903 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.2062, allocations: 4 kB / 0.6903 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2062, allocations: 4 kB / 0.6903 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.2065, allocations: 144.2 kB / 0.6904 GB, free: 11.9 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.001237/0.2078, allocations: 0.8605 MB / 0.6913 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.208, allocations: 114.6 kB / 0.6914 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2082, allocations: 80.75 kB / 0.6915 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.2085, allocations: 336.4 kB / 0.6918 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2085, allocations: 38.5 kB / 0.6918 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.2086, allocations: 0 / 0.6918 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000579/0.2091, allocations: 217.5 kB / 0.692 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2092, allocations: 51.41 kB / 0.6921 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.2096, allocations: 349.7 kB / 0.6924 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2096, allocations: 29.7 kB / 0.6924 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2097, allocations: 196.2 kB / 0.6926 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.2098, allocations: 39.44 kB / 0.6927 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.2099, allocations: 33.7 kB / 0.6927 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.21, allocations: 342.8 kB / 0.693 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.2102, allocations: 48.81 kB / 0.6931 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.2104, allocations: 100.2 kB / 0.6932 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.2106, allocations: 113.7 kB / 0.6933 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2107, allocations: 4 kB / 0.6933 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003955/0.2111, allocations: 189 kB / 0.6934 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2111, allocations: 4 kB / 0.6935 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2111, allocations: 4 kB / 0.6935 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2111, allocations: 0 / 0.6935 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2113, allocations: 27.92 kB / 0.6935 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2113, allocations: 0 / 0.6935 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.2115, allocations: 23.91 kB / 0.6935 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2115, allocations: 4 kB / 0.6935 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002266/0.2118, allocations: 164.1 kB / 0.6937 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001527/0.2119, allocations: 84.19 kB / 0.6937 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002515/0.2122, allocations: 121.6 kB / 0.6939 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.2122, allocations: 0 / 0.6939 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003557/0.2126, allocations: 177.2 kB / 0.694 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2126, allocations: 7.938 kB / 0.694 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.2126, allocations: 0 / 0.694 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.2126, allocations: 0 / 0.694 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2127, allocations: 23.98 kB / 0.6941 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2127, allocations: 3.938 kB / 0.6941 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.2129, allocations: 23.89 kB / 0.6941 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2129, allocations: 7.984 kB / 0.6941 GB, free: 7.836 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.0001217/0.213, allocations: 192.5 kB / 0.6943 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.2131, allocations: 35.56 kB / 0.6943 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.2136, allocations: 224.5 kB / 0.6945 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2136, allocations: 0 / 0.6945 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2136, allocations: 0 / 0.6945 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.2138, allocations: 120.7 kB / 0.6946 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.2138, allocations: 7.938 kB / 0.6946 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.214, allocations: 15.98 kB / 0.6947 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.2141, allocations: 11.98 kB / 0.6947 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004221/0.2145, allocations: 264.7 kB / 0.6949 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004434/0.215, allocations: 374.3 kB / 0.6953 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001611/0.2151, allocations: 75.88 kB / 0.6954 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00025/0.2154, allocations: 243.2 kB / 0.6956 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of Backend: time 6.52e-07/0.2154, allocations: 0 / 0.6956 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.2167, allocations: 420.3 kB / 0.696 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001452/0.2181, allocations: 1.086 MB / 0.6971 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of Templates: time 0.01387/0.232, allocations: 7.573 MB / 0.7044 GB, free: 13.23 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)