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.0008865/0.0008867, allocations: 89.97 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.009007/0.009007, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.82/1.82, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.905/1.905, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005655/0.0005654, allocations: 16.78 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2848, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0215/0.3063, allocations: 14.5 MB / 0.802 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006566/0.313, allocations: 3.803 MB / 0.8057 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.3138, allocations: 15.94 kB / 0.8057 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.3146, allocations: 155 kB / 0.8059 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.3169, allocations: 0.6173 MB / 0.8065 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3185, allocations: 426.6 kB / 0.8069 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002121/0.3206, allocations: 1.379 MB / 0.8083 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.3212, allocations: 244.8 kB / 0.8085 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.3222, allocations: 358.4 kB / 0.8088 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.3228, allocations: 266.7 kB / 0.8091 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.3229, allocations: 12 kB / 0.8091 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3245, allocations: 0.6939 MB / 0.8098 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3247, allocations: 67.64 kB / 0.8098 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.325, allocations: 200.6 kB / 0.81 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.3267, allocations: 0.6971 MB / 0.8107 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3267, allocations: 0 / 0.8107 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3267, allocations: 0 / 0.8107 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.3267, allocations: 0 / 0.8107 GB, free: 4.086 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.001654/0.3284, allocations: 0.6853 MB / 0.8114 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.3285, allocations: 8.031 kB / 0.8114 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.3286, allocations: 48.38 kB / 0.8114 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3299, allocations: 0.4937 MB / 0.8119 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.33, allocations: 12.33 kB / 0.8119 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.33, allocations: 24 kB / 0.8119 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.3305, allocations: 180.2 kB / 0.8121 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3305, allocations: 4 kB / 0.8121 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3306, allocations: 4 kB / 0.8121 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3306, allocations: 4 kB / 0.8121 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.3309, allocations: 152.2 kB / 0.8123 GB, free: 2.383 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.001473/0.3324, allocations: 0.8645 MB / 0.8131 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.3327, allocations: 122.6 kB / 0.8132 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3329, allocations: 76.81 kB / 0.8133 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/0.3333, allocations: 344.4 kB / 0.8136 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3334, allocations: 38.44 kB / 0.8137 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/0.3334, allocations: 0 / 0.8137 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0006292/0.334, allocations: 237.1 kB / 0.8139 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3341, allocations: 51.41 kB / 0.814 GB, free: 464 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.3345, allocations: 345.7 kB / 0.8143 GB, free: 108 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3345, allocations: 29.7 kB / 0.8143 GB, free: 72 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3347, allocations: 196.3 kB / 0.8145 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.3347, allocations: 39.36 kB / 0.8145 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3348, allocations: 21.66 kB / 0.8146 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.335, allocations: 346.8 kB / 0.8149 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3351, allocations: 47.97 kB / 0.8149 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3353, allocations: 96.19 kB / 0.815 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.3356, allocations: 125.6 kB / 0.8151 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3356, allocations: 4 kB / 0.8151 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004351/0.336, allocations: 185.2 kB / 0.8153 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/0.3362, allocations: 105.7 kB / 0.8154 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3362, allocations: 0 / 0.8154 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3362, allocations: 0 / 0.8154 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.3364, allocations: 31.97 kB / 0.8155 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3364, allocations: 4 kB / 0.8155 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.3366, allocations: 31.83 kB / 0.8155 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.3367, allocations: 7.984 kB / 0.8155 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3367, allocations: 4 kB / 0.8155 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003089/0.337, allocations: 127.8 kB / 0.8156 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.337, allocations: 4 kB / 0.8156 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.337, allocations: 192 / 0.8156 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3372, allocations: 31.92 kB / 0.8157 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3372, allocations: 7.938 kB / 0.8157 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.3374, allocations: 31.97 kB / 0.8157 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3375, allocations: 4 kB / 0.8157 GB, free: 14.59 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.000186/0.3377, allocations: 221.1 kB / 0.8159 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.3377, allocations: 35.53 kB / 0.8159 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.3382, allocations: 253.2 kB / 0.8162 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3383, allocations: 0 / 0.8162 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3383, allocations: 0 / 0.8162 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3383, allocations: 0 / 0.8162 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.3392, allocations: 0.6451 MB / 0.8168 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.3392, allocations: 0 / 0.8168 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3393, allocations: 40 kB / 0.8169 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3393, allocations: 0 / 0.8169 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3394, allocations: 8 kB / 0.8169 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3394, allocations: 0 / 0.8169 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3394, allocations: 0 / 0.8169 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.3398, allocations: 332.4 kB / 0.8172 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.34, allocations: 132.6 kB / 0.8173 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.3401, allocations: 4 kB / 0.8173 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3403, allocations: 23.98 kB / 0.8173 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3404, allocations: 11.98 kB / 0.8173 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3404, allocations: 11.92 kB / 0.8174 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002603/0.3406, allocations: 247.2 kB / 0.8176 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3406, allocations: 0 / 0.8176 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006392/0.3413, allocations: 183.7 kB / 0.8178 GB, free: 12.35 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.0006137/0.3419, allocations: 256 kB / 0.818 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.3425, allocations: 207.9 kB / 0.8182 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3425, allocations: 192 / 0.8182 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3427, allocations: 83.89 kB / 0.8183 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.3436, allocations: 141.6 kB / 0.8184 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3446, allocations: 0.6969 MB / 0.8191 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.345, allocations: 0.796 MB / 0.8199 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003321/0.3454, allocations: 75.25 kB / 0.82 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.3454, allocations: 27.44 kB / 0.82 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.3454, allocations: 0 / 0.82 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.0137/0.3591, allocations: 6.286 MB / 0.8261 GB, free: 3.836 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: