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.005879/0.005879, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001279/0.001279, allocations: 196.4 kB / 16.68 MB, free: 6.352 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.08/1.08, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 59.91 kB / 0.5955 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4632, allocations: 82.03 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01716/0.4803, allocations: 15.04 MB / 0.6903 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006059/0.4864, allocations: 3.892 MB / 0.6941 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006851/0.4872, allocations: 21.94 kB / 0.6941 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.4879, allocations: 185.6 kB / 0.6943 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.49, allocations: 0.6785 MB / 0.695 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.4914, allocations: 481.7 kB / 0.6954 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.4931, allocations: 1.089 MB / 0.6965 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.4936, allocations: 289.8 kB / 0.6968 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000731/0.4943, allocations: 392 kB / 0.6971 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.4946, allocations: 267.2 kB / 0.6974 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.4947, allocations: 22.31 kB / 0.6974 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.496, allocations: 0.7234 MB / 0.6981 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.4961, allocations: 71.69 kB / 0.6982 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4963, allocations: 187 kB / 0.6984 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.4974, allocations: 0.743 MB / 0.6991 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4974, allocations: 0 / 0.6991 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4974, allocations: 0 / 0.6991 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4974, allocations: 0 / 0.6991 GB, free: 14.39 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.001103/0.4985, allocations: 0.766 MB / 0.6998 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4986, allocations: 12.03 kB / 0.6999 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.4987, allocations: 44.66 kB / 0.6999 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/0.4997, allocations: 0.5216 MB / 0.7004 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4997, allocations: 12.33 kB / 0.7004 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4997, allocations: 16 kB / 0.7004 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.5001, allocations: 176.9 kB / 0.7006 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5001, allocations: 0 / 0.7006 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.5002, allocations: 8 kB / 0.7006 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5002, allocations: 4 kB / 0.7006 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.5005, allocations: 140.2 kB / 0.7007 GB, free: 12.61 MB / 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.001119/0.5017, allocations: 0.8652 MB / 0.7016 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.5019, allocations: 122.6 kB / 0.7017 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.5021, allocations: 68.81 kB / 0.7018 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.5024, allocations: 336.4 kB / 0.7021 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.5024, allocations: 34.5 kB / 0.7021 GB, free: 11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5025, allocations: 4 kB / 0.7021 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005977/0.5031, allocations: 225.2 kB / 0.7023 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.5031, allocations: 55.41 kB / 0.7024 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.5035, allocations: 341.7 kB / 0.7027 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.5035, allocations: 33.7 kB / 0.7028 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5037, allocations: 192.4 kB / 0.7029 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.5037, allocations: 47.62 kB / 0.703 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.5038, allocations: 33.7 kB / 0.703 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.504, allocations: 350.7 kB / 0.7034 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.5041, allocations: 52.77 kB / 0.7034 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.5043, allocations: 92.69 kB / 0.7035 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.5046, allocations: 121.6 kB / 0.7036 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5046, allocations: 0 / 0.7036 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000385/0.505, allocations: 173.4 kB / 0.7038 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.505, allocations: 9.344 kB / 0.7038 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.505, allocations: 0 / 0.7038 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.5051, allocations: 4 kB / 0.7038 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.5052, allocations: 27.92 kB / 0.7038 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5052, allocations: 3.984 kB / 0.7038 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.5054, allocations: 27.88 kB / 0.7038 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.5055, allocations: 4 kB / 0.7038 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000222/0.5057, allocations: 156.1 kB / 0.704 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001519/0.5059, allocations: 84.41 kB / 0.7041 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002594/0.5061, allocations: 121.6 kB / 0.7042 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.5061, allocations: 96 / 0.7042 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003449/0.5065, allocations: 177.3 kB / 0.7044 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.5065, allocations: 8 kB / 0.7044 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.5065, allocations: 0 / 0.7044 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-06/0.5065, allocations: 3.938 kB / 0.7044 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5066, allocations: 23.98 kB / 0.7044 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.5066, allocations: 4 kB / 0.7044 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.5068, allocations: 15.97 kB / 0.7044 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.5069, allocations: 8 kB / 0.7044 GB, free: 8.527 MB / 0.5294 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.000108/0.507, allocations: 196.1 kB / 0.7046 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.507, allocations: 43.78 kB / 0.7047 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.5076, allocations: 224.6 kB / 0.7049 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5076, allocations: 0 / 0.7049 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5076, allocations: 0 / 0.7049 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5076, allocations: 0 / 0.7049 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/0.5085, allocations: 0.6414 MB / 0.7055 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5085, allocations: 0 / 0.7055 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5086, allocations: 32.02 kB / 0.7055 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5087, allocations: 0 / 0.7055 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.5087, allocations: 4 kB / 0.7055 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5087, allocations: 0 / 0.7055 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5087, allocations: 0 / 0.7055 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.5091, allocations: 321.5 kB / 0.7058 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.5093, allocations: 124.8 kB / 0.706 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.5093, allocations: 15.98 kB / 0.706 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5095, allocations: 15.92 kB / 0.706 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.5096, allocations: 11.98 kB / 0.706 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.5096, allocations: 4.094 kB / 0.706 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002613/0.5099, allocations: 259.1 kB / 0.7062 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5099, allocations: 0 / 0.7062 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006199/0.5105, allocations: 195.3 kB / 0.7064 GB, free: 6.355 MB / 0.5294 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.0005489/0.5111, allocations: 253.7 kB / 0.7067 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005181/0.5116, allocations: 191.7 kB / 0.7069 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5116, allocations: 4 kB / 0.7069 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.5118, allocations: 75.89 kB / 0.7069 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.5127, allocations: 146 kB / 0.7071 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.5135, allocations: 0.5742 MB / 0.7076 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.5139, allocations: 0.7957 MB / 0.7084 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.5141, allocations: 71.09 kB / 0.7085 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.5142, allocations: 31.44 kB / 0.7085 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.5142, allocations: 0 / 0.7085 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.01226/0.5265, allocations: 6.652 MB / 0.715 GB, free: 13.61 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)