Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.498/2.498, allocations: 287.9 MB / 302.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001533, allocations: 184.5 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 83.62 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004561, allocations: 11.53 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01326/0.2335, allocations: 12.64 MB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005213/0.2387, allocations: 3.272 MB / 0.9943 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.2391, allocations: 19.88 kB / 0.9943 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.2397, allocations: 171.1 kB / 0.9945 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2415, allocations: 0.6505 MB / 0.9951 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2434, allocations: 0.5496 MB / 0.9956 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.2447, allocations: 0.7297 MB / 0.9964 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.245, allocations: 228.6 kB / 0.9966 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.2456, allocations: 334.8 kB / 0.9969 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.2459, allocations: 179.2 kB / 0.9971 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.2459, allocations: 12 kB / 0.9971 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.247, allocations: 0.5031 MB / 0.9976 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.2471, allocations: 55.75 kB / 0.9976 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.2472, allocations: 101.5 kB / 0.9977 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.2479, allocations: 447 kB / 0.9981 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2479, allocations: 0 / 0.9981 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.138e-06/0.2479, allocations: 0 / 0.9981 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.207e-06/0.2479, allocations: 0 / 0.9981 GB, free: 8.312 MB / 0.6198 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.0009563/0.2489, allocations: 0.6696 MB / 0.9988 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2489, allocations: 11.97 kB / 0.9988 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.249, allocations: 43.44 kB / 0.9988 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.2499, allocations: 441.2 kB / 0.9993 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2499, allocations: 16.33 kB / 0.9993 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.25, allocations: 20 kB / 0.9993 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.2504, allocations: 176.2 kB / 0.9995 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2504, allocations: 0 / 0.9995 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.2505, allocations: 8 kB / 0.9995 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.072e-06/0.2505, allocations: 4 kB / 0.9995 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.2509, allocations: 148.2 kB / 0.9996 GB, free: 6.699 MB / 0.6198 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.001153/0.2521, allocations: 0.8879 MB / 1 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2524, allocations: 134.6 kB / 1.001 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.2527, allocations: 332.4 kB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2527, allocations: 30.56 kB / 1.001 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 4.136e-06/0.2527, allocations: 0 / 1.001 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006446/0.2534, allocations: 245.2 kB / 1.001 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.2534, allocations: 51.41 kB / 1.001 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.2539, allocations: 369.7 kB / 1.002 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2539, allocations: 29.7 kB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.254, allocations: 196.2 kB / 1.002 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.2541, allocations: 35.45 kB / 1.002 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-06/0.2541, allocations: 8 kB / 1.002 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.2542, allocations: 338.8 kB / 1.002 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.2544, allocations: 51.95 kB / 1.002 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.2546, allocations: 96.62 kB / 1.002 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.2548, allocations: 51.97 kB / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-06/0.2548, allocations: 0 / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004661/0.2553, allocations: 193 kB / 1.003 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/0.2553, allocations: 189.9 kB / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.115e-06/0.2553, allocations: 0 / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2554, allocations: 0 / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2555, allocations: 35.92 kB / 1.003 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.686e-06/0.2556, allocations: 3.984 kB / 1.003 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2559, allocations: 31.91 kB / 1.003 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2559, allocations: 4 kB / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.128e-06/0.256, allocations: 4 kB / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000366/0.2563, allocations: 127.9 kB / 1.003 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-06/0.2563, allocations: 3.938 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.47e-06/0.2564, allocations: 0 / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2565, allocations: 27.98 kB / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.2565, allocations: 0 / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.2568, allocations: 39.98 kB / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2569, allocations: 16.05 kB / 1.003 GB, free: 2.949 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.257, allocations: 217.1 kB / 1.003 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.2571, allocations: 39.52 kB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.2577, allocations: 232.6 kB / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.45e-06/0.2577, allocations: 4 kB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-06/0.2577, allocations: 0 / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.854e-06/0.2577, allocations: 3.953 kB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2588, allocations: 0.6568 MB / 1.004 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.261e-06/0.2588, allocations: 0 / 1.004 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.259, allocations: 32.08 kB / 1.004 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.343e-06/0.259, allocations: 8.031 kB / 1.004 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.259, allocations: 3.953 kB / 1.004 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.844e-06/0.2591, allocations: 4 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.691e-06/0.2591, allocations: 4.172 kB / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.2596, allocations: 366.6 kB / 1.005 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2598, allocations: 136.6 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.2598, allocations: 4 kB / 1.005 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2602, allocations: 23.97 kB / 1.005 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.2603, allocations: 19.92 kB / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.2603, allocations: 4 kB / 1.005 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003319/0.2607, allocations: 275.1 kB / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.48e-07/0.2607, allocations: 0 / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007229/0.2614, allocations: 191.6 kB / 1.005 GB, free: 0.6055 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005245/0.2619, allocations: 255.8 kB / 1.005 GB, free: 364 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006063/0.2626, allocations: 203.7 kB / 1.006 GB, free: 160 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.551e-06/0.2626, allocations: 4 kB / 1.006 GB, free: 156 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.2628, allocations: 83.89 kB / 1.006 GB, free: 72 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.2637, allocations: 138.2 kB / 1.006 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.265, allocations: 0.6756 MB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.2655, allocations: 0.8077 MB / 1.007 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.2659, allocations: 79.02 kB / 1.007 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.266, allocations: 27.44 kB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.425e-06/0.266, allocations: 0 / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.02965/0.2956, allocations: 6.516 MB / 1.014 GB, free: 7.863 MB / 0.6355 GB