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.001264/0.001264, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 177.7 kB / 16.92 MB, free: 6.648 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.591/1.591, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.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 1.018/1.018, allocations: 143.2 MB / 435.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 8 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 83.41 MB / 0.5985 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2976/0.4672, allocations: 14.48 MB / 0.6126 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.4719, allocations: 3.867 MB / 0.6164 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.4724, allocations: 15.16 kB / 0.6164 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.4729, allocations: 155.2 kB / 0.6166 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.4743, allocations: 0.6139 MB / 0.6172 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4754, allocations: 426.8 kB / 0.6176 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.477, allocations: 1.376 MB / 0.6189 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.4773, allocations: 247.9 kB / 0.6192 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.4779, allocations: 361.4 kB / 0.6195 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.4782, allocations: 264.8 kB / 0.6198 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.4782, allocations: 11.03 kB / 0.6198 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.4793, allocations: 0.6971 MB / 0.6204 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.4794, allocations: 61.3 kB / 0.6205 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.4795, allocations: 203.8 kB / 0.6207 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.4801, allocations: 0.5009 MB / 0.6212 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4801, allocations: 0 / 0.6212 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4801, allocations: 3.656 kB / 0.6212 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4801, allocations: 4 kB / 0.6212 GB, free: 32.6 MB / 0.4981 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.0008815/0.481, allocations: 0.6862 MB / 0.6219 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4811, allocations: 8.406 kB / 0.6219 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.4812, allocations: 47.53 kB / 0.6219 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.4819, allocations: 0.4969 MB / 0.6224 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.4819, allocations: 13.02 kB / 0.6224 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.482, allocations: 19.97 kB / 0.6224 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.4823, allocations: 185.5 kB / 0.6226 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4823, allocations: 0 / 0.6226 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.4824, allocations: 6.188 kB / 0.6226 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4824, allocations: 3.531 kB / 0.6226 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.4827, allocations: 152.8 kB / 0.6228 GB, free: 31.71 MB / 0.4981 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.000896/0.4836, allocations: 0.8637 MB / 0.6236 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.4838, allocations: 123.6 kB / 0.6237 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.484, allocations: 77.36 kB / 0.6238 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.4842, allocations: 338.6 kB / 0.6241 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4843, allocations: 33.34 kB / 0.6242 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.4843, allocations: 0 / 0.6242 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005237/0.4848, allocations: 243.6 kB / 0.6244 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.4848, allocations: 54.25 kB / 0.6244 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.4851, allocations: 343.6 kB / 0.6248 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4851, allocations: 28.45 kB / 0.6248 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.4853, allocations: 196.1 kB / 0.625 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.4853, allocations: 49.09 kB / 0.625 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.4853, allocations: 16.75 kB / 0.625 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.4854, allocations: 343.3 kB / 0.6254 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4855, allocations: 50.59 kB / 0.6254 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4857, allocations: 98.28 kB / 0.6255 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4859, allocations: 133.4 kB / 0.6256 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4859, allocations: 4 kB / 0.6256 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003208/0.4863, allocations: 185 kB / 0.6258 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.4863, allocations: 107.1 kB / 0.6259 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.4863, allocations: 0 / 0.6259 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4863, allocations: 0.625 kB / 0.6259 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4865, allocations: 32.92 kB / 0.626 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4865, allocations: 2.844 kB / 0.626 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4867, allocations: 33.7 kB / 0.626 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.4868, allocations: 8.875 kB / 0.626 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.4868, allocations: 2.969 kB / 0.626 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002681/0.487, allocations: 123.1 kB / 0.6261 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.4871, allocations: 0 / 0.6261 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-06/0.4871, allocations: 0 / 0.6261 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4872, allocations: 33.59 kB / 0.6262 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.4872, allocations: 3.938 kB / 0.6262 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.4874, allocations: 27.78 kB / 0.6262 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4874, allocations: 9.703 kB / 0.6262 GB, free: 29.7 MB / 0.4981 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.0001158/0.4875, allocations: 230 kB / 0.6264 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.4876, allocations: 34.69 kB / 0.6264 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.488, allocations: 235.2 kB / 0.6267 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.488, allocations: 10.66 kB / 0.6267 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.488, allocations: 0 / 0.6267 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4881, allocations: 0 / 0.6267 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.4888, allocations: 0.6457 MB / 0.6273 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4888, allocations: 0.5 kB / 0.6273 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4889, allocations: 32.56 kB / 0.6273 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4889, allocations: 3 kB / 0.6273 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.4889, allocations: 4.969 kB / 0.6273 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4889, allocations: 0 / 0.6273 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4889, allocations: 6 kB / 0.6274 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.4893, allocations: 339.2 kB / 0.6277 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.4894, allocations: 132.2 kB / 0.6278 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.4894, allocations: 5.375 kB / 0.6278 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4897, allocations: 28.16 kB / 0.6278 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.4897, allocations: 12.42 kB / 0.6278 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.4897, allocations: 7.156 kB / 0.6279 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002179/0.49, allocations: 252.1 kB / 0.6281 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.49, allocations: 0 / 0.6281 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005912/0.4906, allocations: 186.9 kB / 0.6283 GB, free: 28.63 MB / 0.4981 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.0004743/0.4911, allocations: 240.3 kB / 0.6285 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.4915, allocations: 208.1 kB / 0.6287 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4915, allocations: 0 / 0.6287 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4917, allocations: 88.02 kB / 0.6288 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.4926, allocations: 150.2 kB / 0.6289 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.4933, allocations: 0.7178 MB / 0.6296 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.4935, allocations: 0.7927 MB / 0.6304 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.115e-05/0.4936, allocations: 32.16 kB / 0.6304 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4936, allocations: 0 / 0.6304 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.007784/0.5014, allocations: 5.765 MB / 0.6361 GB, free: 26.6 MB / 0.4981 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)