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.004593/0.004593, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.001027/0.001027, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7083/0.7083, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 66.67 kB / 0.5809 GB, free: 1.266 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1473, allocations: 80.2 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01654/0.1639, allocations: 15.05 MB / 0.6739 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005345/0.1693, allocations: 3.884 MB / 0.6777 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.17, allocations: 19.88 kB / 0.6777 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.1706, allocations: 186.7 kB / 0.6779 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.1725, allocations: 0.6899 MB / 0.6785 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1738, allocations: 481.9 kB / 0.679 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1753, allocations: 1.074 MB / 0.68 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.1758, allocations: 286.8 kB / 0.6803 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.1766, allocations: 414.4 kB / 0.6807 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.177, allocations: 258.8 kB / 0.681 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.1771, allocations: 20 kB / 0.681 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1782, allocations: 0.7173 MB / 0.6817 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1783, allocations: 75.69 kB / 0.6818 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.1786, allocations: 187 kB / 0.6819 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1797, allocations: 0.7331 MB / 0.6826 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1797, allocations: 7.938 kB / 0.6827 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.725e-06/0.1797, allocations: 0 / 0.6827 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.1798, allocations: 3.938 kB / 0.6827 GB, free: 5.973 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.001164/0.1809, allocations: 0.7474 MB / 0.6834 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.181, allocations: 12.03 kB / 0.6834 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.181, allocations: 46.73 kB / 0.6834 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.1811, allocations: 44.47 kB / 0.6835 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.1821, allocations: 0.5009 MB / 0.684 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1821, allocations: 20.31 kB / 0.684 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.1822, allocations: 16 kB / 0.684 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.1825, allocations: 184.8 kB / 0.6842 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1825, allocations: 3.984 kB / 0.6842 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1826, allocations: 4 kB / 0.6842 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1826, allocations: 4 kB / 0.6842 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1829, allocations: 140.1 kB / 0.6843 GB, free: 4.156 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.001072/0.184, allocations: 0.8605 MB / 0.6852 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1842, allocations: 122.6 kB / 0.6853 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1844, allocations: 76.81 kB / 0.6854 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.1846, allocations: 336.4 kB / 0.6857 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1847, allocations: 30.56 kB / 0.6857 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.1847, allocations: 4 kB / 0.6857 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005253/0.1852, allocations: 217.1 kB / 0.6859 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1853, allocations: 59.41 kB / 0.686 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.1856, allocations: 341.7 kB / 0.6863 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1856, allocations: 33.7 kB / 0.6863 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1857, allocations: 192.2 kB / 0.6865 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1858, allocations: 39.45 kB / 0.6866 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1858, allocations: 33.7 kB / 0.6866 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1859, allocations: 346.8 kB / 0.6869 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1861, allocations: 48.83 kB / 0.687 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1862, allocations: 92.25 kB / 0.6871 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.1865, allocations: 121.6 kB / 0.6872 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1865, allocations: 0 / 0.6872 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003469/0.1869, allocations: 185 kB / 0.6873 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1869, allocations: 4 kB / 0.6874 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1869, allocations: 0 / 0.6874 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1869, allocations: 4 kB / 0.6874 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.187, allocations: 23.92 kB / 0.6874 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1871, allocations: 7.984 kB / 0.6874 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.1872, allocations: 19.92 kB / 0.6874 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1873, allocations: 4 kB / 0.6874 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001871/0.1875, allocations: 160.1 kB / 0.6876 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001434/0.1876, allocations: 91.36 kB / 0.6876 GB, free: 476 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002217/0.1879, allocations: 117.6 kB / 0.6878 GB, free: 352 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.1879, allocations: 4 kB / 0.6878 GB, free: 348 kB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003234/0.1882, allocations: 181.1 kB / 0.6879 GB, free: 160 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.1882, allocations: 10.03 kB / 0.6879 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.1882, allocations: 0 / 0.6879 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.1882, allocations: 0 / 0.6879 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1883, allocations: 23.98 kB / 0.688 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.1883, allocations: 0 / 0.688 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1885, allocations: 20.16 kB / 0.688 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1885, allocations: 11.94 kB / 0.688 GB, free: 96 kB / 0.5137 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.0001034/0.1886, allocations: 192.1 kB / 0.6882 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.1887, allocations: 31.62 kB / 0.6882 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.1892, allocations: 228.5 kB / 0.6884 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1892, allocations: 0 / 0.6884 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1892, allocations: 0 / 0.6884 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1892, allocations: 4 kB / 0.6884 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/0.19, allocations: 0.6372 MB / 0.6891 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.19, allocations: 3.984 kB / 0.6891 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1901, allocations: 27.92 kB / 0.6891 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1901, allocations: 0 / 0.6891 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1901, allocations: 8.094 kB / 0.6891 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1901, allocations: 4 kB / 0.6891 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1901, allocations: 0 / 0.6891 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1905, allocations: 313.5 kB / 0.6894 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1906, allocations: 124.6 kB / 0.6895 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1907, allocations: 12 kB / 0.6895 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1909, allocations: 19.97 kB / 0.6895 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1909, allocations: 15.92 kB / 0.6896 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.191, allocations: 4 kB / 0.6896 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002297/0.1912, allocations: 247.2 kB / 0.6898 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.1912, allocations: 0 / 0.6898 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005344/0.1917, allocations: 195.6 kB / 0.69 GB, free: 13.93 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.001029/0.1928, allocations: 0.9848 MB / 0.691 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.1933, allocations: 194.5 kB / 0.6911 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1933, allocations: 0 / 0.6911 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1934, allocations: 79.89 kB / 0.6912 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.1942, allocations: 150.3 kB / 0.6914 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.1973, allocations: 2.721 MB / 0.694 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1976, allocations: 0.7957 MB / 0.6948 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.1978, allocations: 69.95 kB / 0.6949 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1979, allocations: 119.4 kB / 0.695 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.198, allocations: 0 / 0.695 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.2268, allocations: 10.19 MB / 0.7049 GB, free: 14.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/7.984, allocations: 9.938 kB / 0.7049 GB, free: 14.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)