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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007095/0.007095, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001974/0.001974, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.425/1.425, allocations: 222.9 MB / 240.4 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.8603/0.8603, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 69.41 kB / 0.5857 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 81.02 MB / 0.6648 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0181/0.1566, allocations: 15.03 MB / 0.6795 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.1627, allocations: 3.905 MB / 0.6833 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.1632, allocations: 19.88 kB / 0.6834 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.1638, allocations: 178.8 kB / 0.6835 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1654, allocations: 0.6841 MB / 0.6842 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1667, allocations: 480.8 kB / 0.6847 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1683, allocations: 1.09 MB / 0.6857 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004535/0.1688, allocations: 281.6 kB / 0.686 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000685/0.1695, allocations: 406.4 kB / 0.6864 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.1699, allocations: 258.8 kB / 0.6866 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.1699, allocations: 20 kB / 0.6866 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.1713, allocations: 0.7174 MB / 0.6873 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1714, allocations: 79.61 kB / 0.6874 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1716, allocations: 187 kB / 0.6876 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1728, allocations: 0.7279 MB / 0.6883 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1728, allocations: 0 / 0.6883 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.536e-06/0.1728, allocations: 0 / 0.6883 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1728, allocations: 3.938 kB / 0.6883 GB, free: 13.53 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.001204/0.174, allocations: 0.7582 MB / 0.6891 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1741, allocations: 9.109 kB / 0.6891 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.1741, allocations: 58.67 kB / 0.6891 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.1742, allocations: 44.66 kB / 0.6892 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1752, allocations: 0.5091 MB / 0.6897 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1753, allocations: 12.33 kB / 0.6897 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1753, allocations: 20 kB / 0.6897 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1757, allocations: 184.1 kB / 0.6899 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1757, allocations: 0 / 0.6899 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1758, allocations: 8 kB / 0.6899 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1758, allocations: 7.984 kB / 0.6899 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.1761, allocations: 140.1 kB / 0.69 GB, free: 11.68 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.001219/0.1774, allocations: 0.8608 MB / 0.6909 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1777, allocations: 122.5 kB / 0.691 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1779, allocations: 80.8 kB / 0.691 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/0.1782, allocations: 332.4 kB / 0.6914 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1782, allocations: 34.56 kB / 0.6914 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1782, allocations: 0 / 0.6914 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006118/0.1789, allocations: 225.2 kB / 0.6916 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1789, allocations: 51.41 kB / 0.6917 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.1793, allocations: 349.7 kB / 0.692 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1794, allocations: 29.7 kB / 0.692 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1795, allocations: 192.4 kB / 0.6922 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1796, allocations: 43.58 kB / 0.6922 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.1797, allocations: 33.7 kB / 0.6923 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1799, allocations: 346.8 kB / 0.6926 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.18, allocations: 44.83 kB / 0.6927 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1802, allocations: 96.62 kB / 0.6927 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.1805, allocations: 121.6 kB / 0.6929 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1805, allocations: 0 / 0.6929 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004174/0.181, allocations: 185.3 kB / 0.693 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.181, allocations: 8 kB / 0.693 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.181, allocations: 0 / 0.693 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.181, allocations: 0 / 0.693 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1812, allocations: 23.98 kB / 0.6931 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1812, allocations: 0 / 0.6931 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1814, allocations: 27.86 kB / 0.6931 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1814, allocations: 4 kB / 0.6931 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000242/0.1817, allocations: 160.1 kB / 0.6933 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001775/0.1818, allocations: 92.17 kB / 0.6933 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002868/0.1821, allocations: 117.7 kB / 0.6935 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.1822, allocations: 3.938 kB / 0.6935 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003908/0.1826, allocations: 181.3 kB / 0.6936 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.1826, allocations: 4 kB / 0.6936 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.1826, allocations: 0 / 0.6936 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.1826, allocations: 0 / 0.6936 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1827, allocations: 23.98 kB / 0.6937 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.1827, allocations: 0 / 0.6937 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1829, allocations: 27.88 kB / 0.6937 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1829, allocations: 7.984 kB / 0.6937 GB, free: 7.605 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.0001267/0.1831, allocations: 196.1 kB / 0.6939 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.1831, allocations: 35.77 kB / 0.6939 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.1837, allocations: 216.6 kB / 0.6941 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1837, allocations: 4 kB / 0.6941 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1837, allocations: 0 / 0.6941 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1837, allocations: 0 / 0.6941 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/0.1847, allocations: 0.6335 MB / 0.6947 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1847, allocations: 96 / 0.6947 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1848, allocations: 35.89 kB / 0.6948 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1848, allocations: 4 kB / 0.6948 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1849, allocations: 4 kB / 0.6948 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1849, allocations: 0 / 0.6948 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1849, allocations: 12.03 kB / 0.6948 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.1854, allocations: 320.7 kB / 0.6951 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1855, allocations: 124.8 kB / 0.6952 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.1856, allocations: 8 kB / 0.6952 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1858, allocations: 20.03 kB / 0.6952 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1858, allocations: 19.92 kB / 0.6953 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1859, allocations: 4 kB / 0.6953 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002771/0.1862, allocations: 243.2 kB / 0.6955 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1862, allocations: 3.938 kB / 0.6955 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005809/0.1867, allocations: 191.4 kB / 0.6957 GB, free: 5.441 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.001288/0.188, allocations: 0.9956 MB / 0.6967 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.1886, allocations: 190.9 kB / 0.6968 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1886, allocations: 0 / 0.6968 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1888, allocations: 80.08 kB / 0.6969 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.1896, allocations: 146.9 kB / 0.6971 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.1934, allocations: 2.738 MB / 0.6997 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.1939, allocations: 0.7957 MB / 0.7005 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000221/0.1941, allocations: 67.27 kB / 0.7006 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1943, allocations: 127.3 kB / 0.7007 GB, free: 168 kB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1943, allocations: 0 / 0.7007 GB, free: 168 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.2287, allocations: 10.06 MB / 0.7105 GB, free: 6.277 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.652, allocations: 12.7 kB / 0.7105 GB, free: 6.273 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)