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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.0009055/0.0009052, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007851/0.007851, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.046/1.046, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005125, allocations: 12 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 83.4 MB / 0.5981 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2945/0.47, allocations: 14.48 MB / 0.6122 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004515/0.4746, allocations: 3.865 MB / 0.616 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.475, allocations: 15.19 kB / 0.616 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.4755, allocations: 148.9 kB / 0.6161 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.4768, allocations: 0.6192 MB / 0.6168 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.4779, allocations: 423.6 kB / 0.6172 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.4794, allocations: 1.38 MB / 0.6185 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.4797, allocations: 241.4 kB / 0.6187 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.4803, allocations: 359.8 kB / 0.6191 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.4806, allocations: 272 kB / 0.6193 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.4806, allocations: 14.09 kB / 0.6193 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.4816, allocations: 0.6928 MB / 0.62 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.4817, allocations: 66.58 kB / 0.6201 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.4818, allocations: 202 kB / 0.6203 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.4826, allocations: 0.7153 MB / 0.621 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4826, allocations: 0 / 0.621 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4826, allocations: 0 / 0.621 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4826, allocations: 4 kB / 0.621 GB, free: 32.17 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.0009939/0.4836, allocations: 0.6749 MB / 0.6216 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4837, allocations: 8.781 kB / 0.6217 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.4838, allocations: 47.31 kB / 0.6217 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.4845, allocations: 0.5001 MB / 0.6222 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4846, allocations: 15.42 kB / 0.6222 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.4846, allocations: 17.41 kB / 0.6222 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.485, allocations: 187.3 kB / 0.6224 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.485, allocations: 0 / 0.6224 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.485, allocations: 7.719 kB / 0.6224 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.485, allocations: 3.469 kB / 0.6224 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.4854, allocations: 157 kB / 0.6226 GB, free: 31.28 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.0009613/0.4863, allocations: 0.8549 MB / 0.6234 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.4866, allocations: 124.6 kB / 0.6235 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.4868, allocations: 85.83 kB / 0.6236 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.4871, allocations: 334.8 kB / 0.6239 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4871, allocations: 34.75 kB / 0.6239 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.4871, allocations: 1.688 kB / 0.6239 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005762/0.4877, allocations: 242.1 kB / 0.6242 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.4877, allocations: 51.41 kB / 0.6242 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.488, allocations: 347.5 kB / 0.6246 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.488, allocations: 28.23 kB / 0.6246 GB, free: 30 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.4882, allocations: 196.4 kB / 0.6248 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.4882, allocations: 42.45 kB / 0.6248 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.4882, allocations: 18.78 kB / 0.6248 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.4883, allocations: 337.5 kB / 0.6251 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.4885, allocations: 56.89 kB / 0.6252 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.4886, allocations: 94.64 kB / 0.6253 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.4889, allocations: 123.4 kB / 0.6254 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4889, allocations: 4 kB / 0.6254 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003381/0.4892, allocations: 194.2 kB / 0.6256 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.4893, allocations: 103.7 kB / 0.6257 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4893, allocations: 6.281 kB / 0.6257 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4893, allocations: 0 / 0.6257 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4894, allocations: 28.16 kB / 0.6257 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4895, allocations: 2.562 kB / 0.6257 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.4897, allocations: 38.55 kB / 0.6258 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4897, allocations: 2.844 kB / 0.6258 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-06/0.4897, allocations: 9.719 kB / 0.6258 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002759/0.49, allocations: 123.2 kB / 0.6259 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/0.49, allocations: 1.641 kB / 0.6259 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-06/0.49, allocations: 0 / 0.6259 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4901, allocations: 36.86 kB / 0.6259 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.4901, allocations: 3.938 kB / 0.6259 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.4904, allocations: 30.17 kB / 0.626 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4904, allocations: 7.531 kB / 0.626 GB, free: 29.27 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.0001194/0.4905, allocations: 221.7 kB / 0.6262 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.4906, allocations: 37.62 kB / 0.6262 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.491, allocations: 235.5 kB / 0.6264 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.491, allocations: 14 kB / 0.6265 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.491, allocations: 0 / 0.6265 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.491, allocations: 0 / 0.6265 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.4918, allocations: 0.6456 MB / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4918, allocations: 0 / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.492, allocations: 30.31 kB / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.492, allocations: 3.578 kB / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.492, allocations: 4.562 kB / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.492, allocations: 3.328 kB / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.492, allocations: 3.812 kB / 0.6271 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.4924, allocations: 330.3 kB / 0.6275 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.4925, allocations: 133.4 kB / 0.6276 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.4925, allocations: 7.031 kB / 0.6276 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4928, allocations: 25.31 kB / 0.6276 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.4928, allocations: 16.88 kB / 0.6276 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.4928, allocations: 5.672 kB / 0.6276 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001934/0.493, allocations: 250.3 kB / 0.6279 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.493, allocations: 0 / 0.6279 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005666/0.4936, allocations: 186 kB / 0.628 GB, free: 28.13 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.0004948/0.4941, allocations: 255 kB / 0.6283 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.4946, allocations: 197.4 kB / 0.6285 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4946, allocations: 0 / 0.6285 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4948, allocations: 89.39 kB / 0.6286 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.4957, allocations: 152.7 kB / 0.6287 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.4966, allocations: 0.6902 MB / 0.6294 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4968, allocations: 0.7944 MB / 0.6302 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.4971, allocations: 79.8 kB / 0.6302 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.4971, allocations: 27.28 kB / 0.6303 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4971, allocations: 0 / 0.6303 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.01121/0.5083, allocations: 6.335 MB / 0.6364 GB, free: 26.16 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)