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.001567/0.001567, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001227/0.001227, allocations: 187 kB / 17.34 MB, free: 5.719 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.319/1.319, 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.7822/0.7822, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.45 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01579/0.1535, allocations: 15.04 MB / 0.675 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00518/0.1587, allocations: 3.892 MB / 0.6788 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.1592, allocations: 27.81 kB / 0.6788 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.1598, allocations: 186.7 kB / 0.679 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.1616, allocations: 0.6763 MB / 0.6797 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1629, allocations: 475.4 kB / 0.6801 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.1644, allocations: 1.087 MB / 0.6812 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.1649, allocations: 277.6 kB / 0.6815 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/0.1657, allocations: 414.4 kB / 0.6818 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.1661, allocations: 262.8 kB / 0.6821 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.1662, allocations: 24 kB / 0.6821 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1674, allocations: 0.7173 MB / 0.6828 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1675, allocations: 75.62 kB / 0.6829 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.1677, allocations: 187 kB / 0.6831 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1689, allocations: 0.7322 MB / 0.6838 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1689, allocations: 3.984 kB / 0.6838 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1689, allocations: 0 / 0.6838 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.1689, allocations: 0 / 0.6838 GB, free: 2.129 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.001129/0.17, allocations: 0.7396 MB / 0.6845 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1701, allocations: 8.031 kB / 0.6845 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1702, allocations: 44.47 kB / 0.6846 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009498/0.1711, allocations: 0.5127 MB / 0.6851 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1712, allocations: 12.33 kB / 0.6851 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1712, allocations: 16 kB / 0.6851 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.1716, allocations: 184.1 kB / 0.6853 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1716, allocations: 4 kB / 0.6853 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1716, allocations: 7.938 kB / 0.6853 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1716, allocations: 4 kB / 0.6853 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.172, allocations: 148.1 kB / 0.6854 GB, free: 368 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.001112/0.1731, allocations: 0.8528 MB / 0.6863 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1734, allocations: 122.6 kB / 0.6864 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.1735, allocations: 72.75 kB / 0.6864 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.1738, allocations: 340.4 kB / 0.6868 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1738, allocations: 34.56 kB / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1738, allocations: 0 / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000565/0.1744, allocations: 215.9 kB / 0.687 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1745, allocations: 55.41 kB / 0.6871 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1748, allocations: 345.7 kB / 0.6874 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1748, allocations: 37.64 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.175, allocations: 192.2 kB / 0.6876 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.175, allocations: 43.45 kB / 0.6876 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.1751, allocations: 37.64 kB / 0.6877 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1752, allocations: 338.8 kB / 0.688 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1754, allocations: 52.81 kB / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.1755, allocations: 92.25 kB / 0.6881 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1758, allocations: 113.6 kB / 0.6883 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1758, allocations: 0 / 0.6883 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000384/0.1762, allocations: 185 kB / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1762, allocations: 4 kB / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1762, allocations: 4 kB / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1763, allocations: 4 kB / 0.6884 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1764, allocations: 19.98 kB / 0.6885 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1764, allocations: 4 kB / 0.6885 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1766, allocations: 15.98 kB / 0.6885 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.1766, allocations: 19.97 kB / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002187/0.1769, allocations: 157 kB / 0.6886 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001508/0.177, allocations: 92.12 kB / 0.6887 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002764/0.1773, allocations: 109.8 kB / 0.6888 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.1773, allocations: 3.938 kB / 0.6888 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003539/0.1777, allocations: 181 kB / 0.689 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.1777, allocations: 8 kB / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.1777, allocations: 0 / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/0.1777, allocations: 0 / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1778, allocations: 31.92 kB / 0.6891 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.1778, allocations: 0 / 0.6891 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.178, allocations: 12.08 kB / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1781, 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 0.0001173/0.1782, allocations: 200.2 kB / 0.6893 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.1782, allocations: 39.55 kB / 0.6893 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.1787, allocations: 231.1 kB / 0.6895 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1788, allocations: 0 / 0.6895 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1788, allocations: 0 / 0.6895 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1788, allocations: 0 / 0.6895 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.1796, allocations: 0.6373 MB / 0.6901 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1797, allocations: 0 / 0.6901 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1798, allocations: 23.98 kB / 0.6902 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1798, allocations: 96 / 0.6902 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1798, allocations: 11.92 kB / 0.6902 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1798, allocations: 0 / 0.6902 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1798, allocations: 0 / 0.6902 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1802, allocations: 328.2 kB / 0.6905 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1804, allocations: 124.6 kB / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.1804, allocations: 4 kB / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1806, allocations: 19.98 kB / 0.6906 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1807, allocations: 11.92 kB / 0.6906 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1807, allocations: 11.98 kB / 0.6907 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002404/0.1809, allocations: 247.2 kB / 0.6909 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.181, allocations: 0 / 0.6909 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005846/0.1815, allocations: 187.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.0005149/0.1821, allocations: 255.6 kB / 0.6913 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.1826, allocations: 183.8 kB / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1826, allocations: 0 / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1828, 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.0008127/0.1836, allocations: 152 kB / 0.6917 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.1845, allocations: 0.5943 MB / 0.6923 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1848, allocations: 0.784 MB / 0.6931 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.1849, allocations: 35.42 kB / 0.6931 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1849, allocations: 0 / 0.6931 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of Templates: time 0.008788/0.1937, allocations: 5.785 MB / 0.6987 GB, free: 2.293 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)