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.001174/0.001174, allocations: 104.7 kB / 16.41 MB, free: 6.496 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.001122/0.001122, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.14 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.783/0.783, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 62.97 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01398/0.1433, allocations: 15.04 MB / 0.691 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.1483, allocations: 3.897 MB / 0.6948 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.1487, allocations: 23.88 kB / 0.6948 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.1492, allocations: 186.7 kB / 0.695 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1506, allocations: 0.6764 MB / 0.6956 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1517, allocations: 477 kB / 0.6961 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.1529, allocations: 1.087 MB / 0.6972 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.1533, allocations: 289.5 kB / 0.6974 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.1539, allocations: 410.4 kB / 0.6978 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1542, allocations: 262.8 kB / 0.6981 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.1543, allocations: 24 kB / 0.6981 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1554, allocations: 0.7173 MB / 0.6988 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.1555, allocations: 71.69 kB / 0.6989 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1556, allocations: 183 kB / 0.699 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009155/0.1566, allocations: 0.7478 MB / 0.6998 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1566, allocations: 0 / 0.6998 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1566, allocations: 0 / 0.6998 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1566, allocations: 0 / 0.6998 GB, free: 2.215 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.001013/0.1576, allocations: 0.7529 MB / 0.7005 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1577, allocations: 12.03 kB / 0.7005 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.1578, allocations: 40.47 kB / 0.7006 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.1587, allocations: 0.5166 MB / 0.7011 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1587, allocations: 16.33 kB / 0.7011 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1588, allocations: 16 kB / 0.7011 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.1591, allocations: 180.2 kB / 0.7013 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1591, allocations: 0 / 0.7013 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1591, allocations: 4 kB / 0.7013 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1592, allocations: 4 kB / 0.7013 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.1595, allocations: 140.2 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.001009/0.1605, allocations: 0.8566 MB / 0.7022 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1607, allocations: 122.6 kB / 0.7024 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1609, allocations: 80.75 kB / 0.7024 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.1611, allocations: 340.4 kB / 0.7028 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1612, allocations: 34.56 kB / 0.7028 GB, free: 14.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 2.395e-06/0.1612, allocations: 0 / 0.7028 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005199/0.1617, allocations: 221 kB / 0.703 GB, free: 14.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1618, allocations: 59.39 kB / 0.7031 GB, free: 14.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1621, allocations: 341.7 kB / 0.7034 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1621, allocations: 33.7 kB / 0.7034 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1622, allocations: 192.2 kB / 0.7036 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1623, allocations: 39.45 kB / 0.7036 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1623, allocations: 33.7 kB / 0.7037 GB, free: 13.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1625, allocations: 338.8 kB / 0.704 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1626, allocations: 56.81 kB / 0.7041 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1628, allocations: 92.19 kB / 0.7041 GB, free: 13.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.163, allocations: 109.7 kB / 0.7042 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.163, allocations: 4 kB / 0.7043 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003464/0.1634, allocations: 181.1 kB / 0.7044 GB, free: 13.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1634, allocations: 11.88 kB / 0.7044 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1634, allocations: 0 / 0.7044 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1634, allocations: 4 kB / 0.7044 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1636, allocations: 27.92 kB / 0.7045 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1636, allocations: 0 / 0.7045 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.1638, allocations: 27.91 kB / 0.7045 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1638, allocations: 4 kB / 0.7045 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001904/0.164, allocations: 156.8 kB / 0.7046 GB, free: 12.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00014/0.1641, allocations: 84.91 kB / 0.7047 GB, free: 12.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002233/0.1644, allocations: 121.6 kB / 0.7048 GB, free: 12.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/0.1644, allocations: 3.984 kB / 0.7048 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003098/0.1647, allocations: 173.1 kB / 0.705 GB, free: 12.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.1647, allocations: 8 kB / 0.705 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.1647, allocations: 0 / 0.705 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.1647, allocations: 3.938 kB / 0.705 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.1648, allocations: 23.98 kB / 0.705 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.1648, allocations: 0 / 0.705 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.165, allocations: 23.92 kB / 0.7051 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.165, allocations: 4 kB / 0.7051 GB, free: 12.39 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 9.589e-05/0.1651, allocations: 192.2 kB / 0.7053 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.1652, allocations: 35.56 kB / 0.7053 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.1656, allocations: 228.7 kB / 0.7055 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1656, allocations: 0 / 0.7055 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1657, allocations: 4 kB / 0.7055 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1657, allocations: 0 / 0.7055 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.1665, allocations: 0.6374 MB / 0.7061 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1665, allocations: 4.094 kB / 0.7061 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1666, allocations: 35.84 kB / 0.7062 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1666, allocations: 4.094 kB / 0.7062 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1666, allocations: 8 kB / 0.7062 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1666, allocations: 0 / 0.7062 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1666, allocations: 8.078 kB / 0.7062 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.167, allocations: 317.5 kB / 0.7065 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1671, allocations: 132.5 kB / 0.7066 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1672, allocations: 0 / 0.7066 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1674, allocations: 15.97 kB / 0.7066 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.1674, allocations: 11.98 kB / 0.7066 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1674, allocations: 4 kB / 0.7066 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002127/0.1676, allocations: 247.2 kB / 0.7069 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1677, allocations: 4 kB / 0.7069 GB, free: 10.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005508/0.1682, allocations: 195.5 kB / 0.7071 GB, free: 10.21 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.0004759/0.1687, allocations: 245 kB / 0.7073 GB, free: 9.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.1692, allocations: 195.7 kB / 0.7075 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1692, allocations: 3.938 kB / 0.7075 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1693, allocations: 75.89 kB / 0.7076 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.1701, allocations: 149.1 kB / 0.7077 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.1709, allocations: 0.5883 MB / 0.7083 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1712, allocations: 0.7996 MB / 0.7091 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1712, allocations: 27.44 kB / 0.7091 GB, free: 8.074 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1712, allocations: 4 kB / 0.7091 GB, free: 8.07 MB / 0.545 GB Notification: Performance of Templates: time 0.007656/0.1789, allocations: 5.899 MB / 0.7149 GB, free: 2.23 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)