Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001448, allocations: 185.8 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.716/0.716, allocations: 82.94 MB / 99.43 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 325.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009736/0.0009733, allocations: 99.75 kB / 393.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004828, allocations: 12 kB / 471.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3756, allocations: 67.44 MB / 0.5263 GB, free: 55.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01935/0.395, allocations: 12.62 MB / 0.5387 GB, free: 46.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.4052, allocations: 3.28 MB / 0.5419 GB, free: 44.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009558/0.4062, allocations: 15.59 kB / 0.5419 GB, free: 44.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.4074, allocations: 177.8 kB / 0.5421 GB, free: 44.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.4116, allocations: 0.6505 MB / 0.5427 GB, free: 43.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.4155, allocations: 0.5423 MB / 0.5432 GB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.4182, allocations: 0.7299 MB / 0.5439 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007176/0.419, allocations: 222.4 kB / 0.5441 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.4203, allocations: 337.8 kB / 0.5445 GB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.4208, allocations: 183.7 kB / 0.5446 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.4209, allocations: 16.25 kB / 0.5447 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.4231, allocations: 0.4939 MB / 0.5451 GB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.4233, allocations: 64.12 kB / 0.5452 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.4235, allocations: 97.17 kB / 0.5453 GB, free: 42.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.4249, allocations: 446.6 kB / 0.5457 GB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.983e-06/0.4249, allocations: 1.375 kB / 0.5457 GB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.874e-06/0.4249, allocations: 0 / 0.5457 GB, free: 42.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.44e-06/0.425, allocations: 0 / 0.5457 GB, free: 42.45 MB / 410.7 MB 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.001689/0.4267, allocations: 0.6755 MB / 0.5464 GB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4267, allocations: 9 kB / 0.5464 GB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.4269, allocations: 49.02 kB / 0.5464 GB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.4286, allocations: 427.6 kB / 0.5468 GB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.4287, allocations: 16.7 kB / 0.5469 GB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.4288, allocations: 23.42 kB / 0.5469 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000856/0.4297, allocations: 186.7 kB / 0.5471 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4297, allocations: 0 / 0.5471 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.4298, allocations: 5.219 kB / 0.5471 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.4298, allocations: 4.219 kB / 0.5471 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.4307, allocations: 154.1 kB / 0.5472 GB, free: 41.24 MB / 410.7 MB 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.002472/0.4332, allocations: 0.8851 MB / 0.5481 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.434, allocations: 137 kB / 0.5482 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/0.4344, allocations: 334.5 kB / 0.5485 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.4345, allocations: 36.77 kB / 0.5486 GB, free: 39.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 5.388e-06/0.4345, allocations: 0 / 0.5486 GB, free: 39.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001416/0.436, allocations: 239.2 kB / 0.5488 GB, free: 39.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.436, allocations: 53.97 kB / 0.5488 GB, free: 39.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4371, allocations: 368.5 kB / 0.5492 GB, free: 39.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.4371, allocations: 31.2 kB / 0.5492 GB, free: 39.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4374, allocations: 187 kB / 0.5494 GB, free: 39.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.4375, allocations: 51.78 kB / 0.5495 GB, free: 39.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.4375, allocations: 1.344 kB / 0.5495 GB, free: 39.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4377, allocations: 349.5 kB / 0.5498 GB, free: 38.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.4381, allocations: 45.81 kB / 0.5498 GB, free: 38.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4385, allocations: 92.84 kB / 0.5499 GB, free: 38.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.4389, allocations: 52.81 kB / 0.55 GB, free: 38.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.4e-06/0.439, allocations: 0 / 0.55 GB, free: 38.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001015/0.44, allocations: 201.4 kB / 0.5502 GB, free: 38.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.4401, allocations: 183.6 kB / 0.5503 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.705e-06/0.4402, allocations: 0.7812 kB / 0.5503 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/0.4402, allocations: 1.781 kB / 0.5503 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.4406, allocations: 29.42 kB / 0.5504 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4406, allocations: 7.172 kB / 0.5504 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.4413, allocations: 26.47 kB / 0.5504 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.4414, allocations: 8.781 kB / 0.5504 GB, free: 38.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4415, allocations: 7.344 kB / 0.5504 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008159/0.4423, allocations: 118.4 kB / 0.5505 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.39e-06/0.4423, allocations: 1.031 kB / 0.5505 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4424, allocations: 5.297 kB / 0.5505 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.4427, allocations: 32.95 kB / 0.5506 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.162e-06/0.4427, allocations: 5.219 kB / 0.5506 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.4434, allocations: 31.7 kB / 0.5506 GB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.4434, allocations: 5.438 kB / 0.5506 GB, free: 38.38 MB / 410.7 MB 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.0003263/0.4438, allocations: 225.6 kB / 0.5508 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.444, allocations: 39.28 kB / 0.5509 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.445, allocations: 236.4 kB / 0.5511 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4451, allocations: 2.75 kB / 0.5511 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-06/0.4451, allocations: 0 / 0.5511 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.161e-06/0.4451, allocations: 4 kB / 0.5511 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.4463, allocations: 0.6559 MB / 0.5517 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.618e-06/0.4463, allocations: 6.188 kB / 0.5517 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4465, allocations: 25.77 kB / 0.5518 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.859e-06/0.4465, allocations: 0.9688 kB / 0.5518 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4465, allocations: 7.094 kB / 0.5518 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.952e-06/0.4465, allocations: 4.953 kB / 0.5518 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4466, allocations: 1.156 kB / 0.5518 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.4472, allocations: 367.4 kB / 0.5521 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.4473, allocations: 131.9 kB / 0.5523 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.675e-05/0.4474, allocations: 9.703 kB / 0.5523 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.4478, allocations: 31.81 kB / 0.5523 GB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.4479, allocations: 13.23 kB / 0.5523 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4479, allocations: 8.438 kB / 0.5523 GB, free: 36.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003937/0.4483, allocations: 263 kB / 0.5526 GB, free: 36.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4483, allocations: 0 / 0.5526 GB, free: 36.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008405/0.4492, allocations: 197.8 kB / 0.5528 GB, free: 36.75 MB / 410.7 MB 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.0005791/0.4498, allocations: 253.6 kB / 0.553 GB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.4504, allocations: 204.9 kB / 0.5532 GB, free: 36.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4505, allocations: 0 / 0.5532 GB, free: 36.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.4507, allocations: 85.48 kB / 0.5533 GB, free: 36.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008902/0.4516, allocations: 142.8 kB / 0.5534 GB, free: 36.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4527, allocations: 0.688 MB / 0.5541 GB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.453, allocations: 0.7995 MB / 0.5549 GB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.4533, allocations: 73.94 kB / 0.5549 GB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.4534, allocations: 28.16 kB / 0.555 GB, free: 35.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.439e-06/0.4534, allocations: 0 / 0.555 GB, free: 35.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01598/0.4694, allocations: 6.513 MB / 0.5613 GB, free: 30.57 MB / 410.7 MB