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.0008574/0.0008575, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.0008885/0.0008885, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 223.3 MB / 240 MB, free: 5.418 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.8522/0.8522, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 8 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 83.42 MB / 0.5972 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2283/0.3576, allocations: 13.75 MB / 0.6107 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.361, allocations: 3.64 MB / 0.6142 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.3612, allocations: 19.28 kB / 0.6142 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3616, allocations: 127.2 kB / 0.6144 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008416/0.3624, allocations: 0.5667 MB / 0.6149 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006845/0.3631, allocations: 399.6 kB / 0.6153 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.3641, allocations: 1.19 MB / 0.6165 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.3643, allocations: 229.2 kB / 0.6167 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.3647, allocations: 350.2 kB / 0.617 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.3649, allocations: 248.2 kB / 0.6172 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.3649, allocations: 15.56 kB / 0.6173 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.3657, allocations: 0.6263 MB / 0.6179 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3657, allocations: 61.11 kB / 0.6179 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.3658, allocations: 93.64 kB / 0.618 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.3662, allocations: 0.5018 MB / 0.6185 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3662, allocations: 0 / 0.6185 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3662, allocations: 0 / 0.6185 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3662, allocations: 1.5 kB / 0.6185 GB, free: 34.18 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.0006772/0.3669, allocations: 0.6909 MB / 0.6192 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.539e-05/0.3669, allocations: 8.469 kB / 0.6192 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.367, allocations: 45.62 kB / 0.6192 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.3676, allocations: 483.8 kB / 0.6197 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3676, allocations: 14.48 kB / 0.6197 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3677, allocations: 16.14 kB / 0.6197 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3679, allocations: 183.6 kB / 0.6199 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.368, allocations: 4 kB / 0.6199 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.368, allocations: 13.86 kB / 0.6199 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.368, allocations: 2.875 kB / 0.6199 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.3683, allocations: 145.3 kB / 0.6201 GB, free: 33.32 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.0007688/0.369, allocations: 0.872 MB / 0.6209 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3692, allocations: 123.3 kB / 0.621 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3694, allocations: 82.12 kB / 0.6211 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.3696, allocations: 338 kB / 0.6214 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3696, allocations: 30.56 kB / 0.6215 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3696, allocations: 2.906 kB / 0.6215 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000452/0.3701, allocations: 236.5 kB / 0.6217 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3701, allocations: 51.41 kB / 0.6217 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3704, allocations: 341.8 kB / 0.6221 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3704, allocations: 32.58 kB / 0.6221 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.3705, allocations: 193.5 kB / 0.6223 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3706, allocations: 36.78 kB / 0.6223 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.3706, allocations: 0 / 0.6223 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.3707, allocations: 351.5 kB / 0.6226 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3708, allocations: 43.33 kB / 0.6227 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3709, allocations: 101 kB / 0.6228 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.371, allocations: 57.64 kB / 0.6228 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.371, allocations: 3.938 kB / 0.6228 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002824/0.3713, allocations: 185.7 kB / 0.623 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3714, allocations: 102.7 kB / 0.6231 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3714, allocations: 2.594 kB / 0.6231 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3714, allocations: 0 / 0.6231 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3715, allocations: 24.31 kB / 0.6231 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3715, allocations: 6.75 kB / 0.6232 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3717, allocations: 41.83 kB / 0.6232 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3718, allocations: 2.812 kB / 0.6232 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.3718, allocations: 6 kB / 0.6232 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002361/0.372, allocations: 123.4 kB / 0.6233 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.372, allocations: 6.344 kB / 0.6233 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/0.372, allocations: 3.953 kB / 0.6233 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.3721, allocations: 24.7 kB / 0.6234 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.3721, allocations: 2.625 kB / 0.6234 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.3723, allocations: 32.5 kB / 0.6234 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3723, allocations: 9.5 kB / 0.6234 GB, free: 30.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.3725, allocations: 225 kB / 0.6236 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3725, allocations: 31.12 kB / 0.6236 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.3729, allocations: 243.4 kB / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.373, allocations: 2.812 kB / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.373, allocations: 0 / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.373, allocations: 3.141 kB / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.3737, allocations: 0.6458 MB / 0.6245 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3737, allocations: 0 / 0.6245 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.3738, allocations: 29.73 kB / 0.6245 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3738, allocations: 6.938 kB / 0.6245 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3738, allocations: 4 kB / 0.6245 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3738, allocations: 11.5 kB / 0.6246 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3738, allocations: 0 / 0.6246 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3741, allocations: 320.1 kB / 0.6249 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.3742, allocations: 139.9 kB / 0.625 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.3743, allocations: 0 / 0.625 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3745, allocations: 29.08 kB / 0.625 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.3745, allocations: 12.75 kB / 0.625 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3745, allocations: 9.906 kB / 0.625 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001689/0.3747, allocations: 242.9 kB / 0.6253 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3747, allocations: 3.188 kB / 0.6253 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004895/0.3752, allocations: 185.7 kB / 0.6255 GB, free: 29.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003943/0.3756, allocations: 247.2 kB / 0.6257 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.376, allocations: 201.5 kB / 0.6259 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.376, allocations: 0 / 0.6259 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3762, allocations: 83.73 kB / 0.626 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.3769, allocations: 154.3 kB / 0.6261 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.3775, allocations: 0.6814 MB / 0.6268 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3777, allocations: 0.797 MB / 0.6276 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.3779, allocations: 75.06 kB / 0.6276 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.378, allocations: 29.94 kB / 0.6277 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.378, allocations: 0 / 0.6277 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.008446/0.3864, allocations: 6.176 MB / 0.6337 GB, free: 27.72 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)