Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.452/1.452, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0009367/0.0009367, allocations: 184.5 kB / 372.3 MB, free: 10.12 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.144/1.144, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0006241/0.000624, allocations: 102.2 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 16.58 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01075/0.1735, allocations: 13.77 MB / 0.9936 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.1774, allocations: 3.579 MB / 0.9971 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.1779, allocations: 19.88 kB / 0.9971 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.1785, allocations: 131.1 kB / 0.9973 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.18, allocations: 0.5832 MB / 0.9978 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1811, allocations: 404.9 kB / 0.9982 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.1824, allocations: 1.2 MB / 0.9994 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1827, allocations: 236.9 kB / 0.9996 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.1832, allocations: 362.4 kB / 1 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1835, allocations: 254.8 kB / 1 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1835, allocations: 12 kB / 1 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.1844, allocations: 0.6627 MB / 1.001 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.1845, allocations: 59.67 kB / 1.001 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1846, allocations: 188.9 kB / 1.001 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.1851, allocations: 0.4988 MB / 1.002 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1852, allocations: 0 / 1.002 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.394e-06/0.1852, allocations: 11.94 kB / 1.002 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1852, allocations: 0 / 1.002 GB, free: 5.227 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.000824/0.186, allocations: 0.6775 MB / 1.002 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.186, allocations: 12.03 kB / 1.002 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.1861, allocations: 50.73 kB / 1.002 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1862, allocations: 52.38 kB / 1.002 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.1869, allocations: 0.4935 MB / 1.003 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1869, allocations: 16.33 kB / 1.003 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1869, allocations: 20 kB / 1.003 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.1873, allocations: 180.2 kB / 1.003 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1873, allocations: 0 / 1.003 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1873, allocations: 8 kB / 1.003 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1873, allocations: 4 kB / 1.003 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.1876, allocations: 148.2 kB / 1.003 GB, free: 3.473 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.0008932/0.1885, allocations: 0.8684 MB / 1.004 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1888, allocations: 126.6 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1889, allocations: 76.81 kB / 1.004 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.1891, allocations: 336.4 kB / 1.005 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1892, allocations: 34.5 kB / 1.005 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1892, allocations: 0 / 1.005 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005115/0.1897, allocations: 241 kB / 1.005 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.1897, allocations: 55.41 kB / 1.005 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.19, allocations: 345.7 kB / 1.005 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.19, allocations: 29.7 kB / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.1901, allocations: 192.3 kB / 1.005 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1901, allocations: 39.36 kB / 1.005 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.1901, allocations: 4 kB / 1.005 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.1902, allocations: 342.8 kB / 1.006 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1903, allocations: 47.97 kB / 1.006 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1905, allocations: 88.25 kB / 1.006 GB, free: 440 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1907, allocations: 129.6 kB / 1.006 GB, free: 304 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1907, allocations: 4 kB / 1.006 GB, free: 300 kB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003044/0.191, allocations: 177.1 kB / 1.006 GB, free: 116 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.1911, allocations: 111.2 kB / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1911, allocations: 0 / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1911, allocations: 0 / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1913, allocations: 35.86 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1913, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1915, allocations: 35.83 kB / 1.006 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.1916, allocations: 7.984 kB / 1.006 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.1916, allocations: 4.094 kB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002966/0.1919, allocations: 127.8 kB / 1.007 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.1919, allocations: 4 kB / 1.007 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.1919, allocations: 3.938 kB / 1.007 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.192, allocations: 27.92 kB / 1.007 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.192, allocations: 4 kB / 1.007 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1922, allocations: 23.97 kB / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1923, allocations: 12 kB / 1.007 GB, free: 15.71 MB / 0.6355 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 0.0001522/0.1924, allocations: 217.1 kB / 1.007 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.1925, allocations: 35.53 kB / 1.007 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.193, allocations: 249.9 kB / 1.007 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.193, allocations: 7.938 kB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.193, allocations: 0 / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.193, allocations: 0 / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.1939, allocations: 0.6412 MB / 1.008 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1939, allocations: 0 / 1.008 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.194, allocations: 31.91 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.194, allocations: 4 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.194, allocations: 0 / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.194, allocations: 4 kB / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.194, allocations: 0 / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.1944, allocations: 337.5 kB / 1.008 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1946, allocations: 128.6 kB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.1946, allocations: 8 kB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1949, allocations: 23.89 kB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1949, allocations: 15.97 kB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1949, allocations: 8 kB / 1.008 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002373/0.1952, allocations: 243.2 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1952, allocations: 0 / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005674/0.1958, allocations: 187.7 kB / 1.009 GB, free: 13.48 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.001137/0.1969, allocations: 0.9995 MB / 1.01 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.1974, allocations: 200.6 kB / 1.01 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1974, allocations: 4 kB / 1.01 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1976, allocations: 87.83 kB / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/0.1984, allocations: 143.2 kB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.201, allocations: 1.773 MB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.2013, allocations: 0.7962 MB / 1.013 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.2016, allocations: 83.17 kB / 1.013 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.2017, allocations: 114.9 kB / 1.013 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.2017, allocations: 4 kB / 1.013 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.418/0.6197, allocations: 9.652 MB / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.62, allocations: 248.2 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/3.905, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)