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.0008124/0.0008125, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005979/0.005979, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.042/1.042, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 8 kB / 0.5164 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2044, allocations: 83.42 MB / 0.5978 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4172/0.6216, allocations: 14.47 MB / 0.612 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.6287, allocations: 3.867 MB / 0.6157 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.6294, allocations: 15.78 kB / 0.6158 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006233/0.63, allocations: 149.6 kB / 0.6159 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.6319, allocations: 0.6223 MB / 0.6165 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.6334, allocations: 421.5 kB / 0.6169 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.6351, allocations: 1.374 MB / 0.6183 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.6354, allocations: 241.5 kB / 0.6185 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.636, allocations: 371.2 kB / 0.6188 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.6364, allocations: 264.3 kB / 0.6191 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.6364, allocations: 11.22 kB / 0.6191 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.6376, allocations: 0.6904 MB / 0.6198 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.6377, allocations: 75.5 kB / 0.6198 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.6379, allocations: 197.4 kB / 0.62 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.6387, allocations: 0.7157 MB / 0.6207 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6387, allocations: 0 / 0.6207 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6388, allocations: 3.188 kB / 0.6207 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.6388, allocations: 0 / 0.6207 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.0009589/0.6397, allocations: 0.6903 MB / 0.6214 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.6398, allocations: 7.875 kB / 0.6214 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.6399, allocations: 45.19 kB / 0.6215 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.6406, allocations: 0.4919 MB / 0.6219 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.6407, allocations: 17.27 kB / 0.622 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.6407, allocations: 15.41 kB / 0.622 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.641, allocations: 181.9 kB / 0.6221 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6411, allocations: 0 / 0.6221 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.6411, allocations: 6.5 kB / 0.6222 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6411, allocations: 3.344 kB / 0.6222 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.6414, allocations: 150.8 kB / 0.6223 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.0009574/0.6424, allocations: 0.8658 MB / 0.6231 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.6426, allocations: 122.7 kB / 0.6233 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.6428, allocations: 81.75 kB / 0.6233 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.643, allocations: 334.4 kB / 0.6237 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.6431, allocations: 46.52 kB / 0.6237 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.6431, allocations: 0 / 0.6237 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005194/0.6436, allocations: 229.6 kB / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6437, allocations: 59.38 kB / 0.624 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.6439, allocations: 348.2 kB / 0.6243 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.644, allocations: 28.27 kB / 0.6243 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.6441, allocations: 185.9 kB / 0.6245 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.6441, allocations: 51.25 kB / 0.6246 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.6441, allocations: 16.03 kB / 0.6246 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.6442, allocations: 340.1 kB / 0.6249 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.6443, allocations: 60.17 kB / 0.625 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.6445, allocations: 96.73 kB / 0.6251 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.6447, allocations: 128 kB / 0.6252 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6447, allocations: 2.812 kB / 0.6252 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003217/0.6451, allocations: 189.6 kB / 0.6254 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.6451, allocations: 104.2 kB / 0.6255 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6451, allocations: 0 / 0.6255 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6451, allocations: 0 / 0.6255 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.6453, allocations: 31.53 kB / 0.6255 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6453, allocations: 0 / 0.6255 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.6455, allocations: 37.28 kB / 0.6255 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.6455, allocations: 9.281 kB / 0.6255 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-06/0.6456, allocations: 2.781 kB / 0.6255 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002598/0.6458, allocations: 129.6 kB / 0.6257 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.6458, allocations: 0 / 0.6257 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.6458, allocations: 0.5 kB / 0.6257 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.6459, allocations: 28.91 kB / 0.6257 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.646, allocations: 6.625 kB / 0.6257 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6461, allocations: 38.42 kB / 0.6257 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.6462, allocations: 6.281 kB / 0.6257 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.0001323/0.6463, allocations: 225 kB / 0.626 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.6464, allocations: 34.06 kB / 0.626 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.6468, allocations: 235.7 kB / 0.6262 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.6468, allocations: 6.781 kB / 0.6262 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6468, allocations: 0 / 0.6262 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6468, allocations: 0 / 0.6262 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.6476, allocations: 0.6504 MB / 0.6269 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.6476, allocations: 0 / 0.6269 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.6477, allocations: 32.83 kB / 0.6269 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6477, allocations: 2.656 kB / 0.6269 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6477, allocations: 6.656 kB / 0.6269 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6477, allocations: 0 / 0.6269 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6477, allocations: 2.906 kB / 0.6269 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.6481, allocations: 335.6 kB / 0.6272 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.6482, allocations: 129.2 kB / 0.6273 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.6483, allocations: 3.938 kB / 0.6273 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.6485, allocations: 33.16 kB / 0.6274 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.6485, allocations: 10.28 kB / 0.6274 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.6486, allocations: 5 kB / 0.6274 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002003/0.6488, allocations: 251.1 kB / 0.6276 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6488, allocations: 0 / 0.6276 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005729/0.6493, allocations: 187.5 kB / 0.6278 GB, free: 28.65 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.0005202/0.6499, allocations: 251.5 kB / 0.628 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.6504, allocations: 200.9 kB / 0.6282 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6504, allocations: 0 / 0.6282 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.6506, allocations: 86.42 kB / 0.6283 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/0.6514, allocations: 152.5 kB / 0.6285 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.6523, allocations: 0.6942 MB / 0.6291 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.6525, allocations: 0.7955 MB / 0.6299 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000224/0.6527, allocations: 77.33 kB / 0.63 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.6528, allocations: 28.78 kB / 0.63 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.6528, allocations: 0 / 0.63 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.01054/0.6633, allocations: 6.344 MB / 0.6362 GB, free: 26.73 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)