Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001119/0.001118, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001148/0.001148, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.98 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01608/0.1563, allocations: 15.05 MB / 0.675 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00531/0.1616, allocations: 3.882 MB / 0.6788 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.1621, allocations: 19.88 kB / 0.6788 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.1627, allocations: 186.7 kB / 0.679 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.1642, allocations: 0.6866 MB / 0.6797 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1654, allocations: 480.6 kB / 0.6801 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1668, allocations: 1.076 MB / 0.6812 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.1672, allocations: 281.6 kB / 0.6815 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.1679, allocations: 418.3 kB / 0.6819 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1682, allocations: 262.8 kB / 0.6821 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.1682, allocations: 20 kB / 0.6821 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.1694, allocations: 0.7174 MB / 0.6828 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1696, allocations: 75.62 kB / 0.6829 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.1698, allocations: 187 kB / 0.6831 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1708, allocations: 0.7284 MB / 0.6838 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1708, allocations: 0 / 0.6838 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.866e-06/0.1708, allocations: 4 kB / 0.6838 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.1708, allocations: 3.938 kB / 0.6838 GB, free: 2.141 MB / 0.5137 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.001081/0.1719, allocations: 0.7513 MB / 0.6845 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.172, allocations: 8.031 kB / 0.6845 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.1721, allocations: 40.47 kB / 0.6846 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.173, allocations: 0.5011 MB / 0.6851 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.173, allocations: 12.33 kB / 0.6851 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1731, allocations: 20 kB / 0.6851 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1734, allocations: 184.1 kB / 0.6853 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1735, allocations: 0 / 0.6853 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1735, allocations: 15.94 kB / 0.6853 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1735, allocations: 4 kB / 0.6853 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1738, allocations: 136.2 kB / 0.6854 GB, free: 388 kB / 0.5137 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.001118/0.175, allocations: 0.8683 MB / 0.6863 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1752, allocations: 118.6 kB / 0.6864 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1754, allocations: 80.75 kB / 0.6865 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.1757, allocations: 336.4 kB / 0.6868 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1757, allocations: 38.56 kB / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1757, allocations: 0 / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005541/0.1763, allocations: 213.1 kB / 0.687 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1763, allocations: 59.41 kB / 0.6871 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.1767, allocations: 349.7 kB / 0.6874 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1767, allocations: 25.7 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1768, allocations: 196.2 kB / 0.6876 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1769, allocations: 39.45 kB / 0.6877 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.1769, allocations: 33.7 kB / 0.6877 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1771, allocations: 338.8 kB / 0.688 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1772, allocations: 56.81 kB / 0.6881 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1774, allocations: 84.25 kB / 0.6881 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.1777, allocations: 117.6 kB / 0.6883 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1777, allocations: 0 / 0.6883 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003671/0.1781, allocations: 189 kB / 0.6884 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1781, allocations: 8 kB / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1781, allocations: 0 / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1781, allocations: 0 / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1783, allocations: 23.98 kB / 0.6885 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1783, allocations: 96 / 0.6885 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1785, allocations: 23.8 kB / 0.6885 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.1785, allocations: 19.98 kB / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002101/0.1787, allocations: 153 kB / 0.6887 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001498/0.1789, allocations: 87.03 kB / 0.6887 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002469/0.1791, allocations: 109.7 kB / 0.6888 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.1791, allocations: 7.938 kB / 0.6888 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003424/0.1795, allocations: 177 kB / 0.689 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/0.1795, allocations: 4 kB / 0.689 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1795, allocations: 3.984 kB / 0.689 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/0.1795, allocations: 0 / 0.689 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1796, allocations: 23.98 kB / 0.689 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.1796, allocations: 0 / 0.689 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1798, allocations: 23.98 kB / 0.6891 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1798, allocations: 4 kB / 0.6891 GB, free: 12.32 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 9.903e-05/0.18, allocations: 192.2 kB / 0.6893 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.18, allocations: 39.55 kB / 0.6893 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.1805, allocations: 220.6 kB / 0.6895 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.1805, allocations: 7.984 kB / 0.6895 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1805, allocations: 0 / 0.6895 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1806, allocations: 4.094 kB / 0.6895 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008584/0.1814, allocations: 0.6334 MB / 0.6901 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1814, allocations: 0 / 0.6901 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1815, allocations: 27.98 kB / 0.6902 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1816, allocations: 4 kB / 0.6902 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1816, allocations: 4.094 kB / 0.6902 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1816, allocations: 8.109 kB / 0.6902 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.1816, allocations: 11.92 kB / 0.6902 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.182, allocations: 313.5 kB / 0.6905 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1821, allocations: 132.5 kB / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.1822, allocations: 0 / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.1824, allocations: 15.98 kB / 0.6906 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1824, allocations: 15.92 kB / 0.6906 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1825, allocations: 4 kB / 0.6906 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002407/0.1827, allocations: 251.2 kB / 0.6909 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1827, allocations: 3.938 kB / 0.6909 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005608/0.1833, allocations: 191.6 kB / 0.6911 GB, free: 10.15 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.0005073/0.1838, allocations: 248 kB / 0.6913 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.1843, allocations: 191.7 kB / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1843, allocations: 0 / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1845, allocations: 83.89 kB / 0.6916 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.1853, allocations: 140.1 kB / 0.6917 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.1862, allocations: 0.5888 MB / 0.6923 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1865, allocations: 0.7879 MB / 0.6931 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.1866, allocations: 35.42 kB / 0.6931 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1866, allocations: 7.938 kB / 0.6931 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of Templates: time 0.008226/0.1948, allocations: 5.838 MB / 0.6988 GB, free: 2.246 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)