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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_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.005284/0.005284, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001067/0.001068, allocations: 196.9 kB / 16.67 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7223/0.7223, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 62.72 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1449, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01439/0.1593, allocations: 15.05 MB / 0.6739 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004755/0.1641, allocations: 3.889 MB / 0.6777 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.1645, allocations: 19.88 kB / 0.6777 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.1651, allocations: 186.7 kB / 0.6779 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1664, allocations: 0.7037 MB / 0.6786 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1675, allocations: 485.2 kB / 0.679 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.1687, allocations: 1.091 MB / 0.6801 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.1691, allocations: 278.8 kB / 0.6804 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000569/0.1697, allocations: 418.4 kB / 0.6808 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.17, allocations: 258.8 kB / 0.681 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.17, allocations: 24 kB / 0.681 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1711, allocations: 0.7211 MB / 0.6817 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.1712, allocations: 71.75 kB / 0.6818 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1714, allocations: 183 kB / 0.682 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.1722, allocations: 0.7318 MB / 0.6827 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1722, allocations: 3.938 kB / 0.6827 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1722, allocations: 0 / 0.6827 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1723, allocations: 0 / 0.6827 GB, free: 5.863 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.001013/0.1733, allocations: 0.766 MB / 0.6834 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1733, allocations: 8.031 kB / 0.6834 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.1734, allocations: 50.73 kB / 0.6835 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.1735, allocations: 52.64 kB / 0.6835 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009002/0.1744, allocations: 0.509 MB / 0.684 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1744, allocations: 16.33 kB / 0.6841 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1744, allocations: 16 kB / 0.6841 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.1748, allocations: 192.7 kB / 0.6843 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1748, allocations: 3.984 kB / 0.6843 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1748, allocations: 8 kB / 0.6843 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1748, allocations: 4 kB / 0.6843 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.1751, allocations: 136.2 kB / 0.6844 GB, free: 4.008 MB / 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.0009995/0.1762, allocations: 0.8607 MB / 0.6852 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1764, allocations: 122.6 kB / 0.6854 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1766, allocations: 72.81 kB / 0.6854 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.1768, allocations: 336.4 kB / 0.6858 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1769, allocations: 30.56 kB / 0.6858 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.1769, allocations: 0 / 0.6858 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005348/0.1774, allocations: 225.2 kB / 0.686 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1774, allocations: 51.41 kB / 0.686 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.1778, allocations: 349.7 kB / 0.6864 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1778, allocations: 29.7 kB / 0.6864 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1779, allocations: 196.4 kB / 0.6866 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1779, allocations: 39.62 kB / 0.6866 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.178, allocations: 37.66 kB / 0.6867 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1781, allocations: 346.8 kB / 0.687 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1783, allocations: 44.83 kB / 0.687 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1784, allocations: 98.92 kB / 0.6871 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.1787, allocations: 113.6 kB / 0.6872 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1787, allocations: 0 / 0.6872 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003467/0.1791, allocations: 181.2 kB / 0.6874 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1791, allocations: 12 kB / 0.6874 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1791, allocations: 0 / 0.6874 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1791, allocations: 0 / 0.6874 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1793, allocations: 27.92 kB / 0.6875 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1793, allocations: 0 / 0.6875 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1795, allocations: 23.92 kB / 0.6875 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1795, allocations: 8 kB / 0.6875 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001989/0.1797, allocations: 156.1 kB / 0.6876 GB, free: 432 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001469/0.1798, allocations: 96.25 kB / 0.6877 GB, free: 320 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002374/0.1801, allocations: 117.6 kB / 0.6878 GB, free: 196 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.1801, allocations: 0 / 0.6878 GB, free: 196 kB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003353/0.1804, allocations: 181.3 kB / 0.688 GB, free: 8 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.1805, allocations: 4 kB / 0.688 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.1805, allocations: 0 / 0.688 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-06/0.1805, allocations: 0 / 0.688 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1806, allocations: 23.98 kB / 0.688 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.1806, allocations: 0 / 0.688 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.1808, allocations: 31.86 kB / 0.6881 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1808, allocations: 7.938 kB / 0.6881 GB, free: 15.94 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.504e-05/0.1809, allocations: 192.2 kB / 0.6883 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.181, allocations: 35.77 kB / 0.6883 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.1814, allocations: 220.8 kB / 0.6885 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1814, allocations: 4 kB / 0.6885 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1814, allocations: 0 / 0.6885 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1815, allocations: 0 / 0.6885 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.1822, allocations: 0.6334 MB / 0.6891 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1823, allocations: 0 / 0.6891 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1824, allocations: 31.91 kB / 0.6892 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1824, allocations: 4 kB / 0.6892 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1824, allocations: 4 kB / 0.6892 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1824, allocations: 4 kB / 0.6892 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1824, allocations: 96 / 0.6892 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.1828, allocations: 321.6 kB / 0.6895 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1829, allocations: 124.8 kB / 0.6896 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.183, allocations: 7.938 kB / 0.6896 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.1832, allocations: 19.97 kB / 0.6896 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1832, allocations: 19.92 kB / 0.6896 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1832, allocations: 4 kB / 0.6896 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000212/0.1835, allocations: 243.2 kB / 0.6899 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1835, allocations: 0 / 0.6899 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005229/0.184, allocations: 191.4 kB / 0.6901 GB, free: 13.79 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.00105/0.185, allocations: 1.005 MB / 0.691 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.1855, allocations: 195.5 kB / 0.6912 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1855, allocations: 0 / 0.6912 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1857, allocations: 80.06 kB / 0.6913 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.1865, allocations: 152.1 kB / 0.6914 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.1894, allocations: 2.728 MB / 0.6941 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1897, allocations: 0.7957 MB / 0.6949 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.1899, allocations: 65.3 kB / 0.695 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.19, allocations: 119.4 kB / 0.6951 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.19, allocations: 4 kB / 0.6951 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.2179, allocations: 10.06 MB / 0.7049 GB, free: 14.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.103, allocations: 14.02 kB / 0.7049 GB, free: 14.68 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)