Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001326/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001957/0.001957, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 70.52 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2654, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01506/0.2805, allocations: 15.01 MB / 0.7973 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005452/0.286, allocations: 3.853 MB / 0.8011 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.2867, allocations: 23.88 kB / 0.8011 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.2874, allocations: 143.1 kB / 0.8012 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.2891, allocations: 0.6183 MB / 0.8018 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.2904, allocations: 419.1 kB / 0.8022 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.2921, allocations: 1.375 MB / 0.8036 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.2925, allocations: 245 kB / 0.8038 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.2932, allocations: 382.3 kB / 0.8042 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.2935, allocations: 262.8 kB / 0.8044 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.2936, allocations: 12 kB / 0.8045 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.2949, allocations: 0.6978 MB / 0.8051 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2951, allocations: 67.62 kB / 0.8052 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2952, allocations: 182.9 kB / 0.8054 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000972/0.2962, allocations: 0.6972 MB / 0.8061 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2962, allocations: 4 kB / 0.8061 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2963, allocations: 0 / 0.8061 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2963, allocations: 0 / 0.8061 GB, free: 6.016 MB / 0.6231 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.001244/0.2975, allocations: 0.7475 MB / 0.8068 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.2976, allocations: 8.031 kB / 0.8068 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.2977, allocations: 40.47 kB / 0.8068 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.2986, allocations: 0.5015 MB / 0.8073 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2986, allocations: 12.33 kB / 0.8073 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.2986, allocations: 19.94 kB / 0.8074 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.299, allocations: 176.2 kB / 0.8075 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2991, allocations: 0 / 0.8075 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.2991, allocations: 8 kB / 0.8075 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2991, allocations: 8 kB / 0.8075 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.2995, allocations: 143.8 kB / 0.8077 GB, free: 4.266 MB / 0.6231 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.001144/0.3006, allocations: 0.8567 MB / 0.8085 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3009, allocations: 122.6 kB / 0.8086 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3011, allocations: 76.75 kB / 0.8087 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004799/0.3016, allocations: 336.4 kB / 0.809 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.3016, allocations: 42.5 kB / 0.8091 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.3017, allocations: 0 / 0.8091 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0006452/0.3023, allocations: 209.1 kB / 0.8093 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.3024, allocations: 55.41 kB / 0.8093 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.3028, allocations: 349.6 kB / 0.8096 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3028, allocations: 29.7 kB / 0.8097 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.303, allocations: 192.3 kB / 0.8099 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.303, allocations: 43.47 kB / 0.8099 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.3031, allocations: 41.55 kB / 0.8099 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3033, allocations: 342.8 kB / 0.8103 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3035, allocations: 48.83 kB / 0.8103 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3037, allocations: 88.23 kB / 0.8104 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.3039, allocations: 121.6 kB / 0.8105 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.304, allocations: 0 / 0.8105 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003748/0.3043, allocations: 173.2 kB / 0.8107 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3044, allocations: 7.938 kB / 0.8107 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3044, allocations: 96 / 0.8107 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3044, allocations: 11.94 kB / 0.8107 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3046, allocations: 23.97 kB / 0.8107 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3046, allocations: 4 kB / 0.8107 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.3049, allocations: 27.81 kB / 0.8108 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.3049, allocations: 8 kB / 0.8108 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002376/0.3051, allocations: 160.1 kB / 0.8109 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001675/0.3053, allocations: 84.19 kB / 0.811 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002406/0.3056, allocations: 109.7 kB / 0.8111 GB, free: 464 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.3056, allocations: 0 / 0.8111 GB, free: 464 kB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003488/0.3059, allocations: 173.2 kB / 0.8113 GB, free: 284 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.306, allocations: 8 kB / 0.8113 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.306, allocations: 3.938 kB / 0.8113 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.306, allocations: 7.875 kB / 0.8113 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3061, allocations: 23.98 kB / 0.8113 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.3061, allocations: 0 / 0.8113 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3063, allocations: 27.97 kB / 0.8113 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3063, allocations: 4 kB / 0.8113 GB, free: 208 kB / 0.6231 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.0001432/0.3065, allocations: 184.3 kB / 0.8115 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.3066, allocations: 39.52 kB / 0.8115 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005386/0.3071, allocations: 233.4 kB / 0.8118 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3071, allocations: 0 / 0.8118 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3072, allocations: 4 kB / 0.8118 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3072, allocations: 0 / 0.8118 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.3081, allocations: 0.6373 MB / 0.8124 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3081, allocations: 0 / 0.8124 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3082, allocations: 27.98 kB / 0.8124 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3082, allocations: 4.188 kB / 0.8124 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3083, allocations: 8.062 kB / 0.8124 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3083, allocations: 4 kB / 0.8124 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3083, allocations: 4 kB / 0.8124 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.3087, allocations: 321.4 kB / 0.8127 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3088, allocations: 124.7 kB / 0.8129 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.3089, allocations: 3.984 kB / 0.8129 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3091, allocations: 23.92 kB / 0.8129 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3092, allocations: 11.98 kB / 0.8129 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3092, allocations: 11.98 kB / 0.8129 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002538/0.3095, allocations: 251.1 kB / 0.8132 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3095, allocations: 3.938 kB / 0.8132 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006799/0.3102, allocations: 183.7 kB / 0.8133 GB, free: 14.03 MB / 0.6387 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.0005889/0.3108, allocations: 253.1 kB / 0.8136 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.3113, allocations: 191.8 kB / 0.8138 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3113, allocations: 4 kB / 0.8138 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3115, allocations: 83.83 kB / 0.8138 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.3123, allocations: 141.9 kB / 0.814 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.3133, allocations: 0.6703 MB / 0.8146 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3136, allocations: 0.796 MB / 0.8154 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.3139, allocations: 71.25 kB / 0.8155 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.314, allocations: 31.44 kB / 0.8155 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.314, allocations: 4 kB / 0.8155 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.01213/0.3261, allocations: 6.306 MB / 0.8217 GB, free: 5.535 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)