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.001639/0.001639, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 188 kB / 16.62 MB, free: 6.582 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.881/1.881, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001484/0.001484, allocations: 68.94 kB / 0.6722 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2906, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01754/0.3082, allocations: 15.04 MB / 0.7988 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.3143, allocations: 3.829 MB / 0.8025 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/0.315, allocations: 15.94 kB / 0.8026 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.3156, allocations: 190.7 kB / 0.8027 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.3175, allocations: 0.6802 MB / 0.8034 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.319, allocations: 480.9 kB / 0.8039 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.3208, allocations: 1.072 MB / 0.8049 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.3214, allocations: 297.4 kB / 0.8052 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.3223, allocations: 402.4 kB / 0.8056 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.3227, allocations: 262.8 kB / 0.8058 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.3228, allocations: 31.98 kB / 0.8059 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.3245, allocations: 0.7134 MB / 0.8066 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3246, allocations: 71.69 kB / 0.8066 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.3249, allocations: 187 kB / 0.8068 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3261, allocations: 0.7244 MB / 0.8075 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3261, allocations: 0 / 0.8075 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3261, allocations: 0 / 0.8075 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3261, allocations: 0 / 0.8075 GB, free: 4.715 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.00121/0.3274, allocations: 0.7474 MB / 0.8082 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3274, allocations: 8.031 kB / 0.8082 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.72e-05/0.3275, allocations: 44.47 kB / 0.8083 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3286, allocations: 0.5171 MB / 0.8088 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3286, allocations: 16.27 kB / 0.8088 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3287, allocations: 24 kB / 0.8088 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.329, allocations: 172.2 kB / 0.809 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3291, allocations: 0 / 0.809 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3291, allocations: 8 kB / 0.809 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3291, allocations: 4 kB / 0.809 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.3294, allocations: 136.2 kB / 0.8091 GB, free: 2.949 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.001262/0.3307, allocations: 0.8605 MB / 0.81 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.331, allocations: 122.6 kB / 0.8101 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3311, allocations: 72.81 kB / 0.8102 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.3315, allocations: 336.4 kB / 0.8105 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3316, allocations: 34.5 kB / 0.8105 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3316, allocations: 0 / 0.8105 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0007529/0.3323, allocations: 225 kB / 0.8107 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3324, allocations: 55.41 kB / 0.8108 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.3328, allocations: 341.7 kB / 0.8111 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3328, allocations: 29.7 kB / 0.8111 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.3331, allocations: 196.3 kB / 0.8113 GB, free: 488 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3331, allocations: 31.47 kB / 0.8114 GB, free: 456 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3332, allocations: 41.61 kB / 0.8114 GB, free: 408 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3334, allocations: 342.8 kB / 0.8117 GB, free: 56 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3335, allocations: 52.83 kB / 0.8118 GB, free: 0 / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3337, allocations: 84.25 kB / 0.8119 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.334, allocations: 121.5 kB / 0.812 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.334, allocations: 8 kB / 0.812 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003649/0.3344, allocations: 181.1 kB / 0.8121 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3344, allocations: 7.938 kB / 0.8122 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3344, allocations: 0 / 0.8122 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3345, allocations: 0 / 0.8122 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3346, allocations: 31.91 kB / 0.8122 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3347, allocations: 0 / 0.8122 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3348, allocations: 31.83 kB / 0.8122 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.3349, allocations: 4 kB / 0.8122 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002335/0.3351, allocations: 152.1 kB / 0.8124 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001524/0.3353, allocations: 88.89 kB / 0.8125 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002357/0.3355, allocations: 113.7 kB / 0.8126 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.3355, allocations: 0 / 0.8126 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000345/0.3359, allocations: 173.2 kB / 0.8127 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3359, allocations: 6.656 kB / 0.8127 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3359, allocations: 7.938 kB / 0.8127 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.3359, allocations: 4 kB / 0.8127 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.336, allocations: 19.98 kB / 0.8128 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.3361, allocations: 7.984 kB / 0.8128 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3362, allocations: 19.97 kB / 0.8128 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3363, allocations: 8 kB / 0.8128 GB, free: 14.89 MB / 0.6387 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.0001524/0.3364, allocations: 188.2 kB / 0.813 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.3365, allocations: 39.47 kB / 0.813 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.3371, allocations: 220.8 kB / 0.8132 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3371, allocations: 8 kB / 0.8132 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3371, allocations: 0 / 0.8132 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3372, allocations: 3.984 kB / 0.8132 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3382, allocations: 0.6327 MB / 0.8139 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3382, allocations: 4 kB / 0.8139 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3383, allocations: 27.95 kB / 0.8139 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3384, allocations: 8 kB / 0.8139 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3384, allocations: 0 / 0.8139 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3384, allocations: 4 kB / 0.8139 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3384, allocations: 0 / 0.8139 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.3389, allocations: 332.3 kB / 0.8142 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3391, allocations: 120.7 kB / 0.8143 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.3391, allocations: 11.98 kB / 0.8143 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3393, allocations: 11.98 kB / 0.8143 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.3394, allocations: 11.92 kB / 0.8144 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3394, allocations: 8 kB / 0.8144 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003152/0.3398, allocations: 255.1 kB / 0.8146 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3398, allocations: 0 / 0.8146 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007692/0.3405, allocations: 191.6 kB / 0.8148 GB, free: 12.72 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.0007394/0.3413, allocations: 240.9 kB / 0.815 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006006/0.3419, allocations: 195.7 kB / 0.8152 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3419, allocations: 0 / 0.8152 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3421, allocations: 79.88 kB / 0.8153 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.343, allocations: 161.2 kB / 0.8154 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.344, allocations: 0.5516 MB / 0.816 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.3447, allocations: 0.7918 MB / 0.8168 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.3449, allocations: 74.91 kB / 0.8168 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.3449, allocations: 27.44 kB / 0.8169 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of SimCode: time 2.01e-07/0.3449, allocations: 0 / 0.8169 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of Templates: time 0.01301/0.358, allocations: 6.567 MB / 0.8233 GB, free: 4.09 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)