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.001321/0.001321, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002019/0.002019, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.577/1.577, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.924/1.924, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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: 69.81 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2851, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02119/0.3064, allocations: 14.98 MB / 0.7975 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005841/0.3123, allocations: 3.795 MB / 0.8012 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000601/0.3129, allocations: 19.88 kB / 0.8012 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.3136, allocations: 159.1 kB / 0.8014 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.316, allocations: 0.6301 MB / 0.802 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.3176, allocations: 432.8 kB / 0.8024 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.3192, allocations: 1.079 MB / 0.8034 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.3197, allocations: 281.5 kB / 0.8037 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/0.3204, allocations: 406.3 kB / 0.8041 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.3208, allocations: 274.7 kB / 0.8044 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.3208, allocations: 24 kB / 0.8044 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.3222, allocations: 0.7173 MB / 0.8051 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3223, allocations: 79.61 kB / 0.8052 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3225, allocations: 183 kB / 0.8053 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009486/0.3234, allocations: 0.7244 MB / 0.806 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3235, allocations: 0 / 0.806 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3235, allocations: 0 / 0.806 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3235, allocations: 0 / 0.806 GB, free: 6.09 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.001152/0.3246, allocations: 0.7475 MB / 0.8068 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3247, allocations: 12.03 kB / 0.8068 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.3248, allocations: 40.47 kB / 0.8068 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.3256, allocations: 0.5053 MB / 0.8073 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3257, allocations: 16.31 kB / 0.8073 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.3257, allocations: 16 kB / 0.8073 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.3261, allocations: 176.2 kB / 0.8075 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3261, allocations: 0 / 0.8075 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.3261, allocations: 8 kB / 0.8075 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3262, allocations: 7.984 kB / 0.8075 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.3265, allocations: 135.8 kB / 0.8077 GB, free: 4.34 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.001093/0.3276, allocations: 0.8644 MB / 0.8085 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.3278, allocations: 114.6 kB / 0.8086 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.328, allocations: 76.75 kB / 0.8087 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/0.3284, allocations: 336.4 kB / 0.809 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3285, allocations: 42.5 kB / 0.809 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3285, allocations: 0 / 0.809 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005599/0.329, allocations: 213.1 kB / 0.8092 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3291, allocations: 51.41 kB / 0.8093 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.3294, allocations: 353.7 kB / 0.8096 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3295, allocations: 25.7 kB / 0.8097 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3296, allocations: 196.3 kB / 0.8098 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.3297, allocations: 39.45 kB / 0.8099 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.3297, allocations: 37.61 kB / 0.8099 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3299, allocations: 338.8 kB / 0.8102 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.33, allocations: 56.75 kB / 0.8103 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3302, allocations: 88.25 kB / 0.8104 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3304, allocations: 113.7 kB / 0.8105 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3304, allocations: 3.938 kB / 0.8105 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003381/0.3308, allocations: 181.1 kB / 0.8107 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3308, allocations: 11.94 kB / 0.8107 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3308, allocations: 4 kB / 0.8107 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3308, allocations: 0 / 0.8107 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.331, allocations: 23.98 kB / 0.8107 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.331, allocations: 0 / 0.8107 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3312, allocations: 39.78 kB / 0.8107 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3313, allocations: 8 kB / 0.8107 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001994/0.3315, allocations: 156.1 kB / 0.8109 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001413/0.3316, allocations: 84.25 kB / 0.811 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002208/0.3318, allocations: 113.6 kB / 0.8111 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.3318, allocations: 0 / 0.8111 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003546/0.3322, allocations: 173.2 kB / 0.8113 GB, free: 352 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.3322, allocations: 4 kB / 0.8113 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.3322, allocations: 3.938 kB / 0.8113 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-06/0.3322, allocations: 4 kB / 0.8113 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3324, allocations: 23.92 kB / 0.8113 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3324, allocations: 4 kB / 0.8113 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.3326, allocations: 27.97 kB / 0.8113 GB, free: 284 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3326, allocations: 4.188 kB / 0.8113 GB, free: 280 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.0001643/0.3328, allocations: 184.3 kB / 0.8115 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.3328, allocations: 43.41 kB / 0.8115 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.3333, allocations: 228.7 kB / 0.8118 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3333, allocations: 11.98 kB / 0.8118 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3333, allocations: 0 / 0.8118 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3334, allocations: 128 / 0.8118 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.3342, allocations: 0.6295 MB / 0.8124 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3342, allocations: 4 kB / 0.8124 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3343, allocations: 32.02 kB / 0.8124 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.3343, allocations: 4 kB / 0.8124 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3344, allocations: 3.938 kB / 0.8124 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3344, allocations: 4 kB / 0.8124 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3344, allocations: 3.984 kB / 0.8124 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.3348, allocations: 325.4 kB / 0.8127 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3349, allocations: 120.7 kB / 0.8129 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.3349, allocations: 4 kB / 0.8129 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3352, allocations: 27.91 kB / 0.8129 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.3352, allocations: 11.98 kB / 0.8129 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3352, allocations: 4 kB / 0.8129 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002399/0.3355, allocations: 251.1 kB / 0.8131 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3355, allocations: 0 / 0.8131 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006346/0.3361, allocations: 187.7 kB / 0.8133 GB, free: 14.1 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.0006468/0.3368, allocations: 262.6 kB / 0.8136 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.3373, allocations: 191.9 kB / 0.8138 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3374, allocations: 3.938 kB / 0.8138 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.3375, allocations: 79.83 kB / 0.8138 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.3384, allocations: 157.1 kB / 0.814 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3396, allocations: 0.6765 MB / 0.8146 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.3401, allocations: 0.7918 MB / 0.8154 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.3405, allocations: 79.06 kB / 0.8155 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.3406, allocations: 27.44 kB / 0.8155 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.3406, allocations: 0 / 0.8155 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.01269/0.3533, allocations: 6.499 MB / 0.8219 GB, free: 5.402 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)