Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 107.4 kB / 16.41 MB, free: 6.012 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.001528/0.001528, allocations: 183 kB / 17.34 MB, free: 5.629 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8749/0.8749, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.75 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1554, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01757/0.173, allocations: 15.08 MB / 0.691 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005803/0.1788, allocations: 3.892 MB / 0.6948 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.1793, allocations: 23.88 kB / 0.6948 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.1799, allocations: 194.6 kB / 0.695 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.1816, allocations: 0.7037 MB / 0.6957 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1828, allocations: 481.2 kB / 0.6962 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1843, allocations: 1.076 MB / 0.6972 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.1847, allocations: 257.5 kB / 0.6975 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.1854, allocations: 414.4 kB / 0.6979 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.1857, allocations: 266.8 kB / 0.6981 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.1858, allocations: 24 kB / 0.6981 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.187, allocations: 0.7134 MB / 0.6988 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1871, allocations: 79.61 kB / 0.6989 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1872, allocations: 179 kB / 0.6991 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1883, allocations: 0.7512 MB / 0.6998 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1883, allocations: 3.984 kB / 0.6998 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1883, allocations: 0 / 0.6998 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1883, allocations: 0 / 0.6998 GB, free: 2.18 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.001184/0.1895, allocations: 0.7543 MB / 0.7006 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1895, allocations: 8.031 kB / 0.7006 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.1896, allocations: 48.66 kB / 0.7006 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.1906, allocations: 0.5255 MB / 0.7011 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1906, allocations: 16.27 kB / 0.7011 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1907, allocations: 16 kB / 0.7012 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.191, allocations: 180.2 kB / 0.7013 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.191, allocations: 4 kB / 0.7013 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1911, allocations: 11.94 kB / 0.7013 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1911, allocations: 4 kB / 0.7013 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.1914, allocations: 132.2 kB / 0.7015 GB, free: 404 kB / 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.001161/0.1926, allocations: 0.8647 MB / 0.7023 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1928, allocations: 114.6 kB / 0.7024 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.193, allocations: 68.81 kB / 0.7025 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.1933, allocations: 336.4 kB / 0.7028 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1934, allocations: 42.5 kB / 0.7029 GB, free: 14.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 4.749e-06/0.1934, allocations: 3.984 kB / 0.7029 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005816/0.1939, allocations: 221.2 kB / 0.7031 GB, free: 14.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.194, allocations: 51.41 kB / 0.7031 GB, free: 14.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1944, allocations: 345.7 kB / 0.7034 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1944, allocations: 29.7 kB / 0.7035 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1945, allocations: 200.4 kB / 0.7037 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1946, allocations: 39.59 kB / 0.7037 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.1946, allocations: 33.7 kB / 0.7037 GB, free: 13.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1948, allocations: 346.8 kB / 0.7041 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1949, allocations: 44.83 kB / 0.7041 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1951, allocations: 96.19 kB / 0.7042 GB, free: 13.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1954, allocations: 113.6 kB / 0.7043 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1954, allocations: 0 / 0.7043 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003737/0.1958, allocations: 173.4 kB / 0.7045 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1958, allocations: 8.031 kB / 0.7045 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1958, allocations: 11.94 kB / 0.7045 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1958, allocations: 0 / 0.7045 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1959, allocations: 31.91 kB / 0.7045 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1959, allocations: 0 / 0.7045 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.1961, allocations: 19.94 kB / 0.7045 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1961, allocations: 4 kB / 0.7046 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00022/0.1964, allocations: 156.8 kB / 0.7047 GB, free: 12.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001728/0.1965, allocations: 96.17 kB / 0.7048 GB, free: 12.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002583/0.1968, allocations: 113.6 kB / 0.7049 GB, free: 12.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.1968, allocations: 0 / 0.7049 GB, free: 12.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003465/0.1971, allocations: 173.3 kB / 0.7051 GB, free: 12.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1972, allocations: 14.66 kB / 0.7051 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1972, allocations: 3.984 kB / 0.7051 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.1972, allocations: 3.938 kB / 0.7051 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1973, allocations: 23.98 kB / 0.7051 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.1973, allocations: 3.938 kB / 0.7051 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1974, allocations: 23.91 kB / 0.7051 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1975, allocations: 8 kB / 0.7051 GB, free: 12.32 MB / 0.545 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.0001122/0.1976, allocations: 188.2 kB / 0.7053 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.1976, allocations: 43.7 kB / 0.7054 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.1981, allocations: 226.7 kB / 0.7056 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1981, allocations: 0 / 0.7056 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1982, allocations: 7.938 kB / 0.7056 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1982, allocations: 3.984 kB / 0.7056 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.1991, allocations: 0.6295 MB / 0.7062 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1991, allocations: 0 / 0.7062 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1992, allocations: 27.92 kB / 0.7062 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1992, allocations: 0 / 0.7062 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1992, allocations: 12.12 kB / 0.7062 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1992, allocations: 0 / 0.7062 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1992, allocations: 4 kB / 0.7062 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.1997, allocations: 329.3 kB / 0.7066 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.1998, allocations: 136.8 kB / 0.7067 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1998, allocations: 0 / 0.7067 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2, allocations: 19.98 kB / 0.7067 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2001, allocations: 7.984 kB / 0.7067 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.2001, allocations: 8 kB / 0.7067 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002745/0.2004, allocations: 247.2 kB / 0.707 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2004, allocations: 0 / 0.707 GB, free: 10.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006545/0.201, allocations: 199.3 kB / 0.7072 GB, free: 10.15 MB / 0.545 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.0007479/0.2018, allocations: 244.9 kB / 0.7074 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.2024, allocations: 187.8 kB / 0.7076 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2024, allocations: 4.375 kB / 0.7076 GB, free: 9.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.2026, allocations: 75.83 kB / 0.7076 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.2035, allocations: 144.7 kB / 0.7078 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2047, allocations: 0.5954 MB / 0.7084 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.2052, allocations: 0.7957 MB / 0.7091 GB, free: 8.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.2052, allocations: 35.44 kB / 0.7092 GB, free: 8.012 MB / 0.545 GB Notification: Performance of SimCode: time 1.924e-06/0.2052, allocations: 0 / 0.7092 GB, free: 8.012 MB / 0.545 GB Notification: Performance of Templates: time 0.009568/0.2148, allocations: 5.886 MB / 0.7149 GB, free: 2.188 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)