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.006498/0.006498, allocations: 102 kB / 15.73 MB, free: 6.051 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.002127/0.002127, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8092/0.8092, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.38 kB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 80.92 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0169/0.1792, allocations: 15.05 MB / 0.6788 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007039/0.1863, allocations: 3.893 MB / 0.6826 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008739/0.1872, allocations: 23.88 kB / 0.6827 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007918/0.188, allocations: 190.7 kB / 0.6828 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.1903, allocations: 0.7037 MB / 0.6835 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1919, allocations: 477.1 kB / 0.684 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1935, allocations: 1.086 MB / 0.685 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.1939, allocations: 291.4 kB / 0.6853 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007595/0.1947, allocations: 406.4 kB / 0.6857 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.195, allocations: 270.8 kB / 0.686 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.1951, allocations: 20 kB / 0.686 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1963, allocations: 0.7212 MB / 0.6867 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.1964, allocations: 67.75 kB / 0.6868 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1966, allocations: 190.9 kB / 0.6869 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1976, allocations: 0.733 MB / 0.6876 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1976, allocations: 0 / 0.6876 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1976, allocations: 0 / 0.6876 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.1977, allocations: 4 kB / 0.6877 GB, free: 14.15 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.001129/0.1988, allocations: 0.7435 MB / 0.6884 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1988, allocations: 13.11 kB / 0.6884 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.1989, allocations: 50.73 kB / 0.6884 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.199, allocations: 44.47 kB / 0.6885 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2, allocations: 0.5087 MB / 0.689 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2, allocations: 12.33 kB / 0.689 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.2001, allocations: 16 kB / 0.689 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.2005, allocations: 184.1 kB / 0.6892 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2005, allocations: 4 kB / 0.6892 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2005, allocations: 4 kB / 0.6892 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2005, allocations: 8 kB / 0.6892 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.2008, allocations: 136.2 kB / 0.6893 GB, free: 12.33 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.001149/0.202, allocations: 0.8644 MB / 0.6902 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.2023, allocations: 122.6 kB / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2024, allocations: 68.81 kB / 0.6904 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.2028, allocations: 340.4 kB / 0.6907 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2028, allocations: 30.56 kB / 0.6907 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 3.095e-06/0.2028, allocations: 4 kB / 0.6907 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005507/0.2034, allocations: 217.1 kB / 0.6909 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.2034, allocations: 55.41 kB / 0.691 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2038, allocations: 341.7 kB / 0.6913 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2038, allocations: 33.7 kB / 0.6913 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.2039, allocations: 192.2 kB / 0.6915 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.204, allocations: 47.44 kB / 0.6916 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.2041, allocations: 33.72 kB / 0.6916 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2042, allocations: 342.8 kB / 0.6919 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2043, allocations: 48.83 kB / 0.692 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2045, allocations: 96.17 kB / 0.6921 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.2048, allocations: 113.6 kB / 0.6922 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2048, allocations: 4 kB / 0.6922 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003537/0.2051, allocations: 181 kB / 0.6923 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2052, allocations: 4 kB / 0.6923 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2052, allocations: 0 / 0.6923 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2052, allocations: 4.078 kB / 0.6923 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.2053, allocations: 35.86 kB / 0.6924 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2054, allocations: 4 kB / 0.6924 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.2055, allocations: 15.92 kB / 0.6924 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.2056, allocations: 8 kB / 0.6924 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002052/0.2058, allocations: 160 kB / 0.6926 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001464/0.2059, allocations: 92.91 kB / 0.6927 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002411/0.2062, allocations: 109.6 kB / 0.6928 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.2062, allocations: 0 / 0.6928 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003223/0.2065, allocations: 173.1 kB / 0.6929 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.2065, allocations: 4 kB / 0.6929 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.2065, allocations: 4 kB / 0.6929 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-06/0.2066, allocations: 4 kB / 0.6929 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2067, allocations: 23.98 kB / 0.693 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2067, allocations: 7.984 kB / 0.693 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2069, allocations: 19.83 kB / 0.693 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2069, allocations: 4 kB / 0.693 GB, free: 8.277 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.0001057/0.207, allocations: 192.2 kB / 0.6932 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.2071, allocations: 31.62 kB / 0.6932 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.2076, allocations: 235.3 kB / 0.6934 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2076, allocations: 4 kB / 0.6934 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2076, allocations: 128 / 0.6934 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2076, allocations: 3.984 kB / 0.6934 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008562/0.2085, allocations: 0.6411 MB / 0.6941 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2085, allocations: 4 kB / 0.6941 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.2086, allocations: 23.92 kB / 0.6941 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2086, allocations: 4 kB / 0.6941 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2086, allocations: 0 / 0.6941 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2087, allocations: 4 kB / 0.6941 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2087, allocations: 0 / 0.6941 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.2091, allocations: 321.6 kB / 0.6944 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2092, allocations: 128.5 kB / 0.6945 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.2093, allocations: 4.094 kB / 0.6945 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.2095, allocations: 15.98 kB / 0.6945 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.2095, allocations: 19.91 kB / 0.6946 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.2095, allocations: 8 kB / 0.6946 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002347/0.2098, allocations: 247.2 kB / 0.6948 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2098, allocations: 0 / 0.6948 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006039/0.2104, allocations: 191.6 kB / 0.695 GB, free: 6.109 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.001112/0.2115, allocations: 0.9884 MB / 0.6959 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.212, allocations: 187.8 kB / 0.6961 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.212, allocations: 0 / 0.6961 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2122, allocations: 79.94 kB / 0.6962 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.2129, allocations: 153.9 kB / 0.6964 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.2164, allocations: 2.711 MB / 0.699 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.2168, allocations: 0.7997 MB / 0.6998 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.2171, allocations: 78.98 kB / 0.6999 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.2172, allocations: 111.4 kB / 0.7 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/0.2172, allocations: 0 / 0.7 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.2436, allocations: 10.07 MB / 0.7098 GB, free: 6.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.312, allocations: 11.41 kB / 0.7098 GB, free: 6.973 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)