Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.69/1.69, allocations: 287.4 MB / 302.6 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 173 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007469/0.000747, allocations: 92.23 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 10.72 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.009027/0.1787, allocations: 13.78 MB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.1821, allocations: 3.571 MB / 0.9957 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1824, allocations: 19.88 kB / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.1828, allocations: 127.1 kB / 0.9958 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.1837, allocations: 0.5646 MB / 0.9964 GB, free: 10 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007878/0.1845, allocations: 406.8 kB / 0.9967 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009747/0.1855, allocations: 1.2 MB / 0.9979 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.1858, allocations: 232.9 kB / 0.9981 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.1862, allocations: 346.4 kB / 0.9985 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1864, allocations: 250.8 kB / 0.9987 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1865, allocations: 12 kB / 0.9987 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.1872, allocations: 0.6354 MB / 0.9993 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.1873, allocations: 59.67 kB / 0.9994 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.1873, allocations: 93.52 kB / 0.9995 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1878, allocations: 494.8 kB / 1 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1878, allocations: 0 / 1 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1878, allocations: 0 / 1 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1878, allocations: 3.938 kB / 1 GB, free: 6.297 MB / 0.6198 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.0007374/0.1886, allocations: 0.6814 MB / 1.001 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1886, allocations: 15.97 kB / 1.001 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1886, allocations: 46.73 kB / 1.001 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.1887, allocations: 48.38 kB / 1.001 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.1893, allocations: 0.4975 MB / 1.001 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1894, allocations: 20.27 kB / 1.001 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1894, allocations: 16 kB / 1.001 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1897, allocations: 184.2 kB / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1897, allocations: 0 / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1897, allocations: 4 kB / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1897, allocations: 4 kB / 1.001 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.19, allocations: 152.2 kB / 1.002 GB, free: 4.535 MB / 0.6198 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.0007913/0.1908, allocations: 0.8606 MB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.191, allocations: 122.6 kB / 1.003 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1912, allocations: 76.81 kB / 1.003 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.1914, allocations: 344.4 kB / 1.003 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.1914, allocations: 34.5 kB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1914, allocations: 0 / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004351/0.1918, allocations: 237 kB / 1.003 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.1919, allocations: 55.41 kB / 1.003 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.1921, allocations: 341.7 kB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1921, allocations: 29.7 kB / 1.004 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.1922, allocations: 192.3 kB / 1.004 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1922, allocations: 39.38 kB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.1923, allocations: 4 kB / 1.004 GB, free: 2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.1923, allocations: 346.8 kB / 1.004 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1924, allocations: 47.97 kB / 1.004 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1926, allocations: 92.67 kB / 1.004 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1928, allocations: 121.6 kB / 1.004 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1928, allocations: 0 / 1.004 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002769/0.1931, allocations: 189.1 kB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.1931, allocations: 104.4 kB / 1.005 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1931, allocations: 3.984 kB / 1.005 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1931, allocations: 0 / 1.005 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1932, allocations: 39.86 kB / 1.005 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1933, allocations: 0 / 1.005 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1934, allocations: 35.81 kB / 1.005 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1935, allocations: 4 kB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-06/0.1935, allocations: 4 kB / 1.005 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002352/0.1937, allocations: 123.9 kB / 1.005 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.1937, allocations: 4 kB / 1.005 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-06/0.1937, allocations: 3.938 kB / 1.005 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.1938, allocations: 23.98 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.1939, allocations: 7.938 kB / 1.005 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.194, allocations: 23.97 kB / 1.005 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.194, allocations: 8 kB / 1.005 GB, free: 0.7969 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.1941, allocations: 222.4 kB / 1.005 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1942, allocations: 39.53 kB / 1.005 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.1946, allocations: 238.5 kB / 1.005 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1946, allocations: 4 kB / 1.005 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1946, allocations: 4.062 kB / 1.005 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1946, allocations: 7.922 kB / 1.005 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/0.1954, allocations: 0.6373 MB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1954, allocations: 4 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.1955, allocations: 32.02 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1955, allocations: 4 kB / 1.006 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1955, allocations: 192 / 1.006 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1955, allocations: 4 kB / 1.006 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1955, allocations: 3.938 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.1959, allocations: 329.5 kB / 1.006 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1961, allocations: 136.6 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.1961, allocations: 4 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1963, allocations: 27.88 kB / 1.007 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1964, allocations: 16.08 kB / 1.007 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1964, allocations: 7.984 kB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002193/0.1966, allocations: 239.2 kB / 1.007 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1966, allocations: 4 kB / 1.007 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004811/0.1971, allocations: 195.7 kB / 1.007 GB, free: 14.54 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000977/0.1981, allocations: 0.9893 MB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.1986, allocations: 203.8 kB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1986, allocations: 0 / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1987, allocations: 84.08 kB / 1.008 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.1995, allocations: 145.8 kB / 1.008 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.2018, allocations: 1.772 MB / 1.01 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2021, allocations: 0.7997 MB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.2024, allocations: 79.06 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.2026, allocations: 111.4 kB / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.2026, allocations: 0 / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.226, allocations: 9.569 MB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.2262, allocations: 228.8 kB / 1.021 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.387, allocations: 3.938 kB / 1.021 GB, free: 0.6758 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)