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.001051/0.001051, allocations: 108 kB / 15.6 MB, free: 132 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.001132/0.001132, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 0.9812/0.9812, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 0.5141 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1774, allocations: 82.04 MB / 0.5943 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.3575/0.5349, allocations: 15.02 MB / 0.6089 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004519/0.5395, allocations: 3.888 MB / 0.6127 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.5399, allocations: 20.94 kB / 0.6127 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.5403, allocations: 193.2 kB / 0.6129 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.5417, allocations: 0.6748 MB / 0.6136 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009816/0.5426, allocations: 474.1 kB / 0.614 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.5437, allocations: 1.081 MB / 0.6151 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.5441, allocations: 288.5 kB / 0.6154 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.5446, allocations: 392.3 kB / 0.6157 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.5448, allocations: 271.4 kB / 0.616 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.5449, allocations: 20.34 kB / 0.616 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.5459, allocations: 0.7119 MB / 0.6167 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.546, allocations: 81.39 kB / 0.6168 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.5461, allocations: 183.8 kB / 0.617 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.5469, allocations: 0.7344 MB / 0.6177 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5469, allocations: 1.031 kB / 0.6177 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5469, allocations: 0 / 0.6177 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.547, allocations: 0 / 0.6177 GB, free: 33.73 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.0009391/0.5479, allocations: 0.7566 MB / 0.6184 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.548, allocations: 8.938 kB / 0.6184 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.548, allocations: 44.28 kB / 0.6185 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.5488, allocations: 0.4894 MB / 0.619 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5488, allocations: 11.58 kB / 0.619 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5489, allocations: 22.62 kB / 0.619 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.5492, allocations: 176.3 kB / 0.6192 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5492, allocations: 3.453 kB / 0.6192 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.5492, allocations: 5.875 kB / 0.6192 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5492, allocations: 9.75 kB / 0.6192 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.5495, allocations: 138.7 kB / 0.6193 GB, free: 32.66 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.0009008/0.5505, allocations: 0.8671 MB / 0.6202 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.5507, allocations: 120.2 kB / 0.6203 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.5508, allocations: 75.09 kB / 0.6203 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.5511, allocations: 332.7 kB / 0.6207 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5512, allocations: 40.31 kB / 0.6207 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.5512, allocations: 0 / 0.6207 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005155/0.5517, allocations: 223.3 kB / 0.6209 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.5517, allocations: 58.28 kB / 0.621 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.552, allocations: 346.6 kB / 0.6213 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5521, allocations: 28.64 kB / 0.6213 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.5521, allocations: 190.9 kB / 0.6215 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.5522, allocations: 40.23 kB / 0.6215 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.5522, allocations: 35.09 kB / 0.6216 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.5523, allocations: 342.5 kB / 0.6219 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5524, allocations: 60.48 kB / 0.622 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.5526, allocations: 82.52 kB / 0.622 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.5528, allocations: 123.9 kB / 0.6222 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5528, allocations: 4 kB / 0.6222 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003306/0.5532, allocations: 173.6 kB / 0.6223 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5532, allocations: 2.906 kB / 0.6223 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5532, allocations: 7.859 kB / 0.6223 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5532, allocations: 0 / 0.6223 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.5534, allocations: 27.16 kB / 0.6224 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5534, allocations: 3.938 kB / 0.6224 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.5536, allocations: 27.66 kB / 0.6224 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.5536, allocations: 6.875 kB / 0.6224 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001802/0.5538, allocations: 157.4 kB / 0.6226 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001307/0.5539, allocations: 88.17 kB / 0.6226 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002163/0.5541, allocations: 118.2 kB / 0.6228 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.5541, allocations: 0.7031 kB / 0.6228 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003057/0.5545, allocations: 169 kB / 0.6229 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.5545, allocations: 5.562 kB / 0.6229 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-06/0.5545, allocations: 0 / 0.6229 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.5545, allocations: 6.406 kB / 0.6229 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5546, allocations: 26.59 kB / 0.6229 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.5546, allocations: 0 / 0.6229 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.5548, allocations: 19.69 kB / 0.623 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5548, allocations: 8.219 kB / 0.623 GB, free: 30.03 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 6.483e-05/0.5549, allocations: 191 kB / 0.6232 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.5549, allocations: 35.5 kB / 0.6232 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.5554, allocations: 232.1 kB / 0.6234 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5554, allocations: 4 kB / 0.6234 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5554, allocations: 96 / 0.6234 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5554, allocations: 6.406 kB / 0.6234 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.5561, allocations: 0.6378 MB / 0.624 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5561, allocations: 0 / 0.624 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5562, allocations: 31.5 kB / 0.6241 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5562, allocations: 4 kB / 0.6241 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5562, allocations: 2.5 kB / 0.6241 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5563, allocations: 3.891 kB / 0.6241 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5563, allocations: 3.938 kB / 0.6241 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.5566, allocations: 319.2 kB / 0.6244 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.5567, allocations: 125.1 kB / 0.6245 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.5568, allocations: 3.375 kB / 0.6245 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.5569, allocations: 16.03 kB / 0.6245 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.557, allocations: 8.547 kB / 0.6245 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.557, allocations: 9.531 kB / 0.6245 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002009/0.5572, allocations: 256.3 kB / 0.6248 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5572, allocations: 0 / 0.6248 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005544/0.5578, allocations: 184.2 kB / 0.625 GB, free: 28.73 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.0005071/0.5583, allocations: 251.9 kB / 0.6252 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.5588, allocations: 202.9 kB / 0.6254 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5588, allocations: 0 / 0.6254 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.559, allocations: 74.72 kB / 0.6255 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.5598, allocations: 157.8 kB / 0.6256 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.5605, allocations: 0.5698 MB / 0.6262 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.5607, allocations: 0.7957 MB / 0.627 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.5609, allocations: 68.05 kB / 0.627 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.561, allocations: 34.34 kB / 0.6271 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.561, allocations: 0 / 0.6271 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01076/0.5717, allocations: 6.644 MB / 0.6335 GB, free: 26.87 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)