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.00119/0.00119, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001264/0.001264, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 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.8399/0.8399, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.89 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, 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.01625/0.1546, allocations: 15.05 MB / 0.691 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005479/0.1601, allocations: 3.888 MB / 0.6948 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.1607, allocations: 19.94 kB / 0.6948 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.1613, allocations: 194.7 kB / 0.695 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.1631, allocations: 0.6763 MB / 0.6956 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1644, allocations: 473.4 kB / 0.6961 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.1659, allocations: 1.087 MB / 0.6972 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004987/0.1664, allocations: 289.5 kB / 0.6974 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007746/0.1672, allocations: 410.4 kB / 0.6978 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.1676, allocations: 258.8 kB / 0.6981 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.1677, allocations: 24 kB / 0.6981 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.1689, allocations: 0.7212 MB / 0.6988 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.169, allocations: 83.61 kB / 0.6989 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1693, allocations: 187 kB / 0.6991 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1704, allocations: 0.7323 MB / 0.6998 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1704, allocations: 0 / 0.6998 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1704, allocations: 0 / 0.6998 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1704, allocations: 0 / 0.6998 GB, free: 2.223 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.001213/0.1716, allocations: 0.7474 MB / 0.7005 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1717, allocations: 16.03 kB / 0.7005 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1718, allocations: 40.47 kB / 0.7006 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1728, allocations: 0.5134 MB / 0.7011 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1729, allocations: 12.33 kB / 0.7011 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1729, allocations: 20 kB / 0.7011 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.1733, allocations: 180.2 kB / 0.7013 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1733, allocations: 0 / 0.7013 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1733, allocations: 11.97 kB / 0.7013 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1733, allocations: 4 kB / 0.7013 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1737, allocations: 140.1 kB / 0.7014 GB, free: 464 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.001145/0.1748, allocations: 0.8567 MB / 0.7022 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1751, allocations: 126.6 kB / 0.7024 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1753, allocations: 72.81 kB / 0.7024 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.1756, allocations: 336.4 kB / 0.7028 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1756, allocations: 38.55 kB / 0.7028 GB, free: 14.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1756, allocations: 0 / 0.7028 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005829/0.1762, allocations: 213.1 kB / 0.703 GB, free: 14.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1763, allocations: 55.41 kB / 0.7031 GB, free: 14.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.1767, allocations: 349.7 kB / 0.7034 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1767, allocations: 29.7 kB / 0.7034 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1768, allocations: 196.2 kB / 0.7036 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1769, allocations: 39.41 kB / 0.7036 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1769, allocations: 33.7 kB / 0.7037 GB, free: 13.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1771, allocations: 346.8 kB / 0.704 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1772, allocations: 52.83 kB / 0.7041 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1774, allocations: 84.25 kB / 0.7041 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.1777, allocations: 121.5 kB / 0.7042 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1777, allocations: 0 / 0.7042 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003754/0.1781, allocations: 185 kB / 0.7044 GB, free: 13.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1781, allocations: 7.938 kB / 0.7044 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1781, allocations: 0 / 0.7044 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1782, allocations: 4 kB / 0.7044 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1783, allocations: 27.97 kB / 0.7045 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1783, allocations: 0 / 0.7045 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1785, allocations: 19.92 kB / 0.7045 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1786, allocations: 4 kB / 0.7045 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002117/0.1788, allocations: 164.7 kB / 0.7046 GB, free: 12.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001625/0.179, allocations: 96.17 kB / 0.7047 GB, free: 12.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002421/0.1792, allocations: 109.7 kB / 0.7048 GB, free: 12.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1792, allocations: 0 / 0.7048 GB, free: 12.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003471/0.1796, allocations: 177.2 kB / 0.705 GB, free: 12.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1796, allocations: 8 kB / 0.705 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.1796, allocations: 0 / 0.705 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.1796, allocations: 3.938 kB / 0.705 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1797, allocations: 27.92 kB / 0.705 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.1797, allocations: 192 / 0.705 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1799, allocations: 19.97 kB / 0.7051 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1799, allocations: 11.94 kB / 0.7051 GB, free: 12.38 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.0001123/0.1801, allocations: 192.2 kB / 0.7053 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.1801, allocations: 35.56 kB / 0.7053 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.1806, allocations: 237.3 kB / 0.7055 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1806, allocations: 0 / 0.7055 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1807, allocations: 0 / 0.7055 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1807, allocations: 0 / 0.7055 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008625/0.1815, allocations: 0.6404 MB / 0.7061 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1815, allocations: 0 / 0.7061 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1817, allocations: 23.98 kB / 0.7062 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1817, allocations: 0 / 0.7062 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1817, allocations: 8.125 kB / 0.7062 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1817, allocations: 8.094 kB / 0.7062 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1817, allocations: 0 / 0.7062 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.1822, allocations: 323 kB / 0.7065 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1823, allocations: 128.6 kB / 0.7066 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.1823, allocations: 4 kB / 0.7066 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1826, allocations: 15.98 kB / 0.7066 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1826, allocations: 7.984 kB / 0.7066 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1826, allocations: 4 kB / 0.7066 GB, free: 10.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002435/0.1829, allocations: 255.2 kB / 0.7069 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1829, allocations: 0 / 0.7069 GB, free: 10.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006106/0.1835, allocations: 191.5 kB / 0.7071 GB, free: 10.23 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.0005598/0.1841, allocations: 260.6 kB / 0.7073 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.1846, allocations: 195.7 kB / 0.7075 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1846, allocations: 0 / 0.7075 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1848, allocations: 83.83 kB / 0.7076 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.1857, allocations: 133.9 kB / 0.7077 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.1865, allocations: 0.5805 MB / 0.7083 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1869, allocations: 0.7996 MB / 0.7091 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.187, allocations: 35.44 kB / 0.7091 GB, free: 8.078 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.187, allocations: 0 / 0.7091 GB, free: 8.078 MB / 0.545 GB Notification: Performance of Templates: time 0.009248/0.1962, allocations: 5.86 MB / 0.7148 GB, free: 2.281 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)