Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.687/2.687, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001596, allocations: 182.1 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.742/2.742, allocations: 205.4 MB / 0.5766 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 97.92 kB / 0.6811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 11.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 106.3 MB / 0.8989 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01683/0.2273, allocations: 12.65 MB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006021/0.2334, allocations: 3.264 MB / 0.9144 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.2341, allocations: 19.88 kB / 0.9144 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009638/0.2351, allocations: 175.1 kB / 0.9146 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.2379, allocations: 0.6582 MB / 0.9152 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.2402, allocations: 0.4986 MB / 0.9157 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.2421, allocations: 0.7262 MB / 0.9164 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005407/0.2427, allocations: 240.6 kB / 0.9167 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009113/0.2436, allocations: 326.9 kB / 0.917 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.2439, allocations: 191.2 kB / 0.9172 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.244, allocations: 12 kB / 0.9172 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.2454, allocations: 0.4953 MB / 0.9177 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2455, allocations: 55.75 kB / 0.9177 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.2457, allocations: 97.45 kB / 0.9178 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.2467, allocations: 443.3 kB / 0.9182 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2467, allocations: 0 / 0.9182 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2468, allocations: 4 kB / 0.9182 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.2468, allocations: 4 kB / 0.9182 GB, free: 45.66 MB / 0.6042 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.001278/0.2481, allocations: 0.6695 MB / 0.9189 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2481, allocations: 12.03 kB / 0.9189 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.2482, allocations: 43.48 kB / 0.9189 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2493, allocations: 433.3 kB / 0.9194 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2494, allocations: 16.33 kB / 0.9194 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.2494, allocations: 20 kB / 0.9194 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.25, allocations: 180.9 kB / 0.9196 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.25, allocations: 7.984 kB / 0.9196 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.25, allocations: 4 kB / 0.9196 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2501, allocations: 4 kB / 0.9196 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.2506, allocations: 148.2 kB / 0.9197 GB, free: 44.04 MB / 0.6042 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.001522/0.2521, allocations: 0.8916 MB / 0.9206 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.2526, allocations: 134.6 kB / 0.9207 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.2529, allocations: 336.3 kB / 0.921 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.253, allocations: 38.56 kB / 0.9211 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.236e-06/0.253, allocations: 0 / 0.9211 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0009273/0.2539, allocations: 229.1 kB / 0.9213 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.254, allocations: 59.41 kB / 0.9213 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.2545, allocations: 369.7 kB / 0.9217 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2545, allocations: 29.7 kB / 0.9217 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.2547, allocations: 192.4 kB / 0.9219 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.2547, allocations: 39.31 kB / 0.9219 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.2548, allocations: 0 / 0.9219 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.2548, allocations: 347 kB / 0.9223 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2551, allocations: 51.91 kB / 0.9223 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.2553, allocations: 100.2 kB / 0.9224 GB, free: 41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.2556, allocations: 55.97 kB / 0.9225 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2556, allocations: 0 / 0.9225 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005684/0.2561, allocations: 185.1 kB / 0.9227 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.2562, allocations: 186 kB / 0.9228 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2562, allocations: 0 / 0.9228 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2563, allocations: 4 kB / 0.9228 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2565, allocations: 31.91 kB / 0.9229 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2565, allocations: 4 kB / 0.9229 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.257, allocations: 35.88 kB / 0.9229 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.257, allocations: 4 kB / 0.9229 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.257, allocations: 6.344 kB / 0.9229 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004603/0.2575, allocations: 123.9 kB / 0.923 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.2575, allocations: 0 / 0.923 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.2575, allocations: 4 kB / 0.923 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2578, allocations: 23.98 kB / 0.9231 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2578, allocations: 7.891 kB / 0.9231 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.2582, allocations: 31.91 kB / 0.9231 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.2582, allocations: 12 kB / 0.9231 GB, free: 40.29 MB / 0.6042 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.0001949/0.2584, allocations: 217.1 kB / 0.9233 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.2585, allocations: 35.53 kB / 0.9233 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.2593, allocations: 242.6 kB / 0.9236 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2593, allocations: 0 / 0.9236 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2593, allocations: 7.891 kB / 0.9236 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2593, allocations: 3.984 kB / 0.9236 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2605, allocations: 0.649 MB / 0.9242 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2605, allocations: 0 / 0.9242 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2608, allocations: 35.91 kB / 0.9243 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.2608, allocations: 3.953 kB / 0.9243 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2608, allocations: 8.062 kB / 0.9243 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2608, allocations: 8.094 kB / 0.9243 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2608, allocations: 4.188 kB / 0.9243 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.2615, allocations: 365.1 kB / 0.9246 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.2617, allocations: 136.5 kB / 0.9248 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.2617, allocations: 8 kB / 0.9248 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.2622, allocations: 31.91 kB / 0.9248 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.2623, allocations: 11.98 kB / 0.9248 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.2623, allocations: 4 kB / 0.9248 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003809/0.2627, allocations: 271.1 kB / 0.9251 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2627, allocations: 0 / 0.9251 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000815/0.2635, allocations: 199.7 kB / 0.9253 GB, free: 37.94 MB / 0.6042 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.0006603/0.2642, allocations: 249 kB / 0.9255 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007776/0.265, allocations: 207.7 kB / 0.9257 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.265, allocations: 0 / 0.9257 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.2653, allocations: 92.06 kB / 0.9258 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2666, allocations: 138.5 kB / 0.9259 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2677, allocations: 0.6833 MB / 0.9266 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2679, allocations: 0.8037 MB / 0.9274 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004037/0.2684, allocations: 75.27 kB / 0.9274 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.2685, allocations: 31.42 kB / 0.9275 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.2685, allocations: 3.938 kB / 0.9275 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.01935/0.2878, allocations: 6.497 MB / 0.9338 GB, free: 29.2 MB / 0.6042 GB