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.001028/0.001028, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.00124/0.00124, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.323/1.323, 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.8447/0.8447, allocations: 143 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.84 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4074, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01255/0.42, allocations: 15.04 MB / 0.6104 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005314/0.4254, allocations: 3.892 MB / 0.6142 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004915/0.4259, allocations: 23.81 kB / 0.6142 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.4267, allocations: 191.4 kB / 0.6144 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.4284, allocations: 0.6764 MB / 0.615 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4297, allocations: 485 kB / 0.6155 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.4312, allocations: 1.083 MB / 0.6166 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.4317, allocations: 289.8 kB / 0.6168 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.4324, allocations: 404 kB / 0.6172 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.4327, allocations: 260.1 kB / 0.6175 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.4327, allocations: 20 kB / 0.6175 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.4339, allocations: 0.7222 MB / 0.6182 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.434, allocations: 75.69 kB / 0.6183 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.4342, allocations: 187.6 kB / 0.6184 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009131/0.4351, allocations: 0.734 MB / 0.6192 GB, free: 8.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4351, allocations: 0.6562 kB / 0.6192 GB, free: 8.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4351, allocations: 0 / 0.6192 GB, free: 8.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4351, allocations: 1.25 kB / 0.6192 GB, free: 8.102 MB / 462.1 MB 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.001065/0.4362, allocations: 0.7521 MB / 0.6199 GB, free: 7.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4362, allocations: 8.688 kB / 0.6199 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.4363, allocations: 42.25 kB / 0.6199 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.4373, allocations: 0.5102 MB / 0.6204 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4373, allocations: 12.83 kB / 0.6204 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4374, allocations: 20.5 kB / 0.6205 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.4377, allocations: 177 kB / 0.6206 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4377, allocations: 0.6875 kB / 0.6206 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.4378, allocations: 8 kB / 0.6206 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4378, allocations: 4.75 kB / 0.6206 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.4381, allocations: 142.8 kB / 0.6208 GB, free: 6.352 MB / 462.1 MB 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.001051/0.4391, allocations: 0.8608 MB / 0.6216 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.4394, allocations: 118.6 kB / 0.6217 GB, free: 5.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.4395, allocations: 72.81 kB / 0.6218 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.4398, allocations: 336.4 kB / 0.6221 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4398, allocations: 31.94 kB / 0.6222 GB, free: 4.754 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4398, allocations: 0 / 0.6222 GB, free: 4.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005168/0.4404, allocations: 231 kB / 0.6224 GB, free: 4.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.4404, allocations: 51.41 kB / 0.6224 GB, free: 4.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.4407, allocations: 349.7 kB / 0.6228 GB, free: 4.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.4408, allocations: 29.7 kB / 0.6228 GB, free: 4.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4409, allocations: 192.3 kB / 0.623 GB, free: 3.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.4409, allocations: 43.38 kB / 0.623 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.441, allocations: 37.61 kB / 0.6231 GB, free: 3.797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4411, allocations: 342.8 kB / 0.6234 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4413, allocations: 60.75 kB / 0.6234 GB, free: 3.395 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.4414, allocations: 88.19 kB / 0.6235 GB, free: 3.293 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.4417, allocations: 117 kB / 0.6236 GB, free: 3.176 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4417, allocations: 0 / 0.6236 GB, free: 3.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003415/0.442, allocations: 177.2 kB / 0.6238 GB, free: 2.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4421, allocations: 11.94 kB / 0.6238 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4421, allocations: 0 / 0.6238 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4421, allocations: 0 / 0.6238 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4422, allocations: 29.33 kB / 0.6238 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4422, allocations: 0 / 0.6238 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.4424, allocations: 31.88 kB / 0.6239 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.4425, allocations: 4 kB / 0.6239 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001954/0.4427, allocations: 152.1 kB / 0.624 GB, free: 2.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001443/0.4428, allocations: 84.25 kB / 0.6241 GB, free: 2.672 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002187/0.443, allocations: 113.6 kB / 0.6242 GB, free: 2.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-07/0.443, allocations: 0 / 0.6242 GB, free: 2.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003169/0.4434, allocations: 181.2 kB / 0.6244 GB, free: 2.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.4434, allocations: 5.719 kB / 0.6244 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.4434, allocations: 128 / 0.6244 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.4434, allocations: 7.938 kB / 0.6244 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4435, allocations: 23.98 kB / 0.6244 GB, free: 2.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.4435, allocations: 4 kB / 0.6244 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4437, allocations: 15.98 kB / 0.6244 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4437, allocations: 11.98 kB / 0.6244 GB, free: 2.305 MB / 462.1 MB 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.291e-05/0.4438, allocations: 196.1 kB / 0.6246 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.4439, allocations: 39.47 kB / 0.6247 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.4443, allocations: 220.9 kB / 0.6249 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4443, allocations: 7.938 kB / 0.6249 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4443, allocations: 4.094 kB / 0.6249 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4444, allocations: 3.984 kB / 0.6249 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007985/0.4452, allocations: 0.6309 MB / 0.6255 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4452, allocations: 0 / 0.6255 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.9e-05/0.4453, allocations: 31.91 kB / 0.6255 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4453, allocations: 8.094 kB / 0.6256 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4453, allocations: 4 kB / 0.6256 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4453, allocations: 4 kB / 0.6256 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4453, allocations: 0 / 0.6256 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.4457, allocations: 317.5 kB / 0.6259 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4458, allocations: 120.6 kB / 0.626 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.4459, allocations: 8 kB / 0.626 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.4461, allocations: 11.97 kB / 0.626 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4461, allocations: 19.92 kB / 0.626 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4462, allocations: 4 kB / 0.626 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.4464, allocations: 243.3 kB / 0.6263 GB, free: 348 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4464, allocations: 7.938 kB / 0.6263 GB, free: 340 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.4469, allocations: 195.6 kB / 0.6264 GB, free: 144 kB / 462.1 MB 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.0005017/0.4475, allocations: 252.4 kB / 0.6267 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.4479, allocations: 187.8 kB / 0.6269 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4479, allocations: 0 / 0.6269 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.4481, allocations: 75.89 kB / 0.6269 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.4488, allocations: 159.3 kB / 0.6271 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.4496, allocations: 0.5555 MB / 0.6276 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4499, allocations: 0.7918 MB / 0.6284 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.4501, allocations: 69.83 kB / 0.6285 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.4502, allocations: 31.44 kB / 0.6285 GB, free: 13.98 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4502, allocations: 0 / 0.6285 GB, free: 13.98 MB / 478.1 MB Notification: Performance of Templates: time 0.01132/0.4615, allocations: 6.638 MB / 0.635 GB, free: 7.473 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)