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.004235/0.004241, allocations: 359.9 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.706/1.706, allocations: 165.8 MB / 183.1 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.367/4.367, allocations: 410.8 MB / 0.6001 GB, free: 15.28 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001928/0.001927, allocations: 184.6 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004614, allocations: 19.98 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4303, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02063/0.451, allocations: 13.76 MB / 0.8222 GB, free: 14.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.4578, allocations: 3.479 MB / 0.8256 GB, free: 11.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.4585, allocations: 19.88 kB / 0.8256 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.4594, allocations: 163 kB / 0.8257 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.4622, allocations: 0.6645 MB / 0.8264 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4645, allocations: 0.5408 MB / 0.8269 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.4667, allocations: 1.188 MB / 0.8281 GB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.4673, allocations: 228.7 kB / 0.8283 GB, free: 8.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008447/0.4682, allocations: 338.4 kB / 0.8286 GB, free: 8.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.4687, allocations: 242.9 kB / 0.8289 GB, free: 8.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.4687, allocations: 15.94 kB / 0.8289 GB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.4702, allocations: 474.9 kB / 0.8293 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.4704, allocations: 67.67 kB / 0.8294 GB, free: 7.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4705, allocations: 93.52 kB / 0.8295 GB, free: 7.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008759/0.4714, allocations: 443 kB / 0.8299 GB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4714, allocations: 0 / 0.8299 GB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4715, allocations: 0 / 0.8299 GB, free: 7.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4715, allocations: 0 / 0.8299 GB, free: 7.043 MB / 378.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.00128/0.4728, allocations: 0.6773 MB / 0.8306 GB, free: 6.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4728, allocations: 8.031 kB / 0.8306 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4729, allocations: 47.44 kB / 0.8306 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.4742, allocations: 481.1 kB / 0.8311 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.4742, allocations: 12.33 kB / 0.8311 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.4743, allocations: 27.89 kB / 0.8311 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.4748, allocations: 184.1 kB / 0.8313 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4749, allocations: 7.984 kB / 0.8313 GB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.4749, allocations: 8 kB / 0.8313 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4749, allocations: 4 kB / 0.8313 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.4755, allocations: 152 kB / 0.8315 GB, free: 5.359 MB / 378.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.001522/0.477, allocations: 0.8645 MB / 0.8323 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.4774, allocations: 130.5 kB / 0.8324 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.4777, allocations: 72.81 kB / 0.8325 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.478, allocations: 344.4 kB / 0.8328 GB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4781, allocations: 30.56 kB / 0.8329 GB, free: 3.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.035e-06/0.4781, allocations: 0 / 0.8329 GB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008843/0.479, allocations: 233.2 kB / 0.8331 GB, free: 3.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.479, allocations: 51.41 kB / 0.8331 GB, free: 3.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.4795, allocations: 345.7 kB / 0.8335 GB, free: 3.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.4795, allocations: 33.64 kB / 0.8335 GB, free: 3.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4797, allocations: 196.2 kB / 0.8337 GB, free: 2.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.4797, allocations: 39.44 kB / 0.8337 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.4797, allocations: 0 / 0.8337 GB, free: 2.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.4798, allocations: 350.8 kB / 0.834 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4801, allocations: 47.95 kB / 0.8341 GB, free: 2.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.4803, allocations: 92.25 kB / 0.8342 GB, free: 2.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.4806, allocations: 63.98 kB / 0.8342 GB, free: 2.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4806, allocations: 0 / 0.8342 GB, free: 2.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005832/0.4812, allocations: 181.2 kB / 0.8344 GB, free: 2.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.4812, allocations: 105.8 kB / 0.8345 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4813, allocations: 0 / 0.8345 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4813, allocations: 0 / 0.8345 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.4816, allocations: 28.08 kB / 0.8345 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4816, allocations: 3.938 kB / 0.8345 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.482, allocations: 39.81 kB / 0.8346 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.4821, allocations: 7.953 kB / 0.8346 GB, free: 1.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.4821, allocations: 4 kB / 0.8346 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004692/0.4826, allocations: 127.9 kB / 0.8347 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.4826, allocations: 0 / 0.8347 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.4826, allocations: 0 / 0.8347 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4828, allocations: 27.92 kB / 0.8347 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.4828, allocations: 4 kB / 0.8347 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.4832, allocations: 31.91 kB / 0.8348 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.4832, allocations: 8 kB / 0.8348 GB, free: 1.676 MB / 378.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.0001876/0.4834, allocations: 221 kB / 0.835 GB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.4835, allocations: 39.58 kB / 0.835 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.4842, allocations: 236.6 kB / 0.8353 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4842, allocations: 0 / 0.8353 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4842, allocations: 3.984 kB / 0.8353 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4844, allocations: 128.5 kB / 0.8354 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.4845, allocations: 4 kB / 0.8354 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.4848, allocations: 28.06 kB / 0.8354 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.4849, allocations: 11.92 kB / 0.8354 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007454/0.4857, allocations: 271 kB / 0.8357 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006147/0.4863, allocations: 394.1 kB / 0.8361 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002417/0.4866, allocations: 71.95 kB / 0.8361 GB, free: 244 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000309/0.4869, allocations: 247.2 kB / 0.8364 GB, free: 0 / 378.7 MB Notification: Performance of Backend: time 7.31e-07/0.4869, allocations: 0 / 0.8364 GB, free: 0 / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.4887, allocations: 381.7 kB / 0.8367 GB, free: 15.63 MB / 394.7 MB Notification: Performance of SimCode: time 0.002461/0.4912, allocations: 1.199 MB / 0.8379 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Templates: time 0.02059/0.5118, allocations: 6.683 MB / 0.8444 GB, free: 7.793 MB / 394.7 MB