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.002406/0.002405, allocations: 356.1 kB / 15.94 MB, free: 6.207 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.449/1.449, allocations: 165.8 MB / 182.5 MB, free: 5.484 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 3.978/3.978, allocations: 410.8 MB / 0.5995 GB, free: 15.17 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.00174/0.00174, allocations: 202 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005581, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3947, allocations: 67.45 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0135/0.4082, allocations: 13.75 MB / 0.8216 GB, free: 14.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005049/0.4133, allocations: 3.491 MB / 0.825 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.4139, allocations: 23.88 kB / 0.825 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.4145, allocations: 159 kB / 0.8252 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.4165, allocations: 0.6659 MB / 0.8258 GB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.4184, allocations: 0.5372 MB / 0.8263 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.4199, allocations: 1.199 MB / 0.8275 GB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.4203, allocations: 220.6 kB / 0.8277 GB, free: 8.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.4209, allocations: 342.4 kB / 0.828 GB, free: 8.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.4212, allocations: 246.9 kB / 0.8283 GB, free: 8.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.4213, allocations: 12 kB / 0.8283 GB, free: 8.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4223, allocations: 478.8 kB / 0.8287 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.4224, allocations: 63.67 kB / 0.8288 GB, free: 7.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.4225, allocations: 97.52 kB / 0.8289 GB, free: 7.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.4231, allocations: 443 kB / 0.8293 GB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.978e-06/0.4232, allocations: 0 / 0.8293 GB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.4232, allocations: 0 / 0.8293 GB, free: 7.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.4232, allocations: 0 / 0.8293 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.0009845/0.4242, allocations: 0.6734 MB / 0.83 GB, free: 6.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4242, allocations: 12.03 kB / 0.83 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.897e-05/0.4243, allocations: 43.44 kB / 0.83 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.4253, allocations: 481.2 kB / 0.8305 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4254, allocations: 16.33 kB / 0.8305 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.4254, allocations: 23.95 kB / 0.8305 GB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.4258, allocations: 188.1 kB / 0.8307 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4259, allocations: 0 / 0.8307 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.4259, allocations: 4 kB / 0.8307 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.673e-06/0.4259, allocations: 7.984 kB / 0.8307 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.4263, allocations: 152.2 kB / 0.8309 GB, free: 5.367 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.001145/0.4275, allocations: 0.8606 MB / 0.8317 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.4278, allocations: 126.6 kB / 0.8318 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.428, allocations: 84.75 kB / 0.8319 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.4283, allocations: 344.3 kB / 0.8322 GB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4283, allocations: 30.56 kB / 0.8323 GB, free: 3.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.538e-06/0.4283, allocations: 4 kB / 0.8323 GB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006637/0.429, allocations: 229.1 kB / 0.8325 GB, free: 3.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.429, allocations: 55.41 kB / 0.8325 GB, free: 3.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.4294, allocations: 341.7 kB / 0.8329 GB, free: 3.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4295, allocations: 33.7 kB / 0.8329 GB, free: 3.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4296, allocations: 196.2 kB / 0.8331 GB, free: 2.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.4297, allocations: 39.45 kB / 0.8331 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-06/0.4297, allocations: 0 / 0.8331 GB, free: 2.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.4298, allocations: 346.8 kB / 0.8335 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.4299, allocations: 51.95 kB / 0.8335 GB, free: 2.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.4301, allocations: 92.25 kB / 0.8336 GB, free: 2.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.4303, allocations: 55.97 kB / 0.8336 GB, free: 2.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-06/0.4303, allocations: 3.938 kB / 0.8336 GB, free: 2.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004363/0.4308, allocations: 177.2 kB / 0.8338 GB, free: 2.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.4309, allocations: 112.5 kB / 0.8339 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.578e-06/0.4309, allocations: 0 / 0.8339 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4309, allocations: 0 / 0.8339 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4311, allocations: 27.98 kB / 0.8339 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.245e-06/0.4311, allocations: 3.984 kB / 0.834 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.4314, allocations: 43.77 kB / 0.834 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.4314, allocations: 4 kB / 0.834 GB, free: 1.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.4315, allocations: 4 kB / 0.834 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003555/0.4318, allocations: 123.9 kB / 0.8341 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-06/0.4318, allocations: 0 / 0.8341 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-06/0.4319, allocations: 11.94 kB / 0.8341 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.432, allocations: 23.98 kB / 0.8342 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-06/0.432, allocations: 0 / 0.8342 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4323, allocations: 31.91 kB / 0.8342 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.4323, allocations: 8 kB / 0.8342 GB, free: 1.684 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.0001683/0.4325, allocations: 221.1 kB / 0.8344 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.4326, allocations: 43.42 kB / 0.8344 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.4332, allocations: 228.6 kB / 0.8347 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4332, allocations: 4 kB / 0.8347 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-06/0.4332, allocations: 0 / 0.8347 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.969e-06/0.4332, allocations: 3.984 kB / 0.8347 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4343, allocations: 0.6412 MB / 0.8353 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.267e-06/0.4343, allocations: 4 kB / 0.8353 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4344, allocations: 23.98 kB / 0.8353 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.831e-06/0.4345, allocations: 4 kB / 0.8353 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4345, allocations: 4 kB / 0.8353 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.198e-06/0.4345, allocations: 4 kB / 0.8353 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.318e-06/0.4345, allocations: 0 / 0.8353 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.435, allocations: 337.5 kB / 0.8357 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.4352, allocations: 128.5 kB / 0.8358 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.4353, allocations: 4 kB / 0.8358 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.4356, allocations: 24.06 kB / 0.8358 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.4357, allocations: 15.92 kB / 0.8358 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4357, allocations: 12.06 kB / 0.8358 GB, free: 15.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.4361, allocations: 243.2 kB / 0.8361 GB, free: 15.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.4361, allocations: 0 / 0.8361 GB, free: 15.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008018/0.4369, allocations: 199.6 kB / 0.8363 GB, free: 15.45 MB / 394.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.0006066/0.4375, allocations: 239.7 kB / 0.8365 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.4383, allocations: 195.8 kB / 0.8367 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.809e-06/0.4383, allocations: 0 / 0.8367 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.4386, allocations: 91.83 kB / 0.8368 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4398, allocations: 142.1 kB / 0.8369 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.441, allocations: 0.6794 MB / 0.8376 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.4416, allocations: 0.8077 MB / 0.8383 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.442, allocations: 75 kB / 0.8384 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.4421, allocations: 35.42 kB / 0.8385 GB, free: 13.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.558e-06/0.4421, allocations: 0 / 0.8385 GB, free: 13.14 MB / 394.7 MB Notification: Performance of Templates: time 0.01916/0.4613, allocations: 6.09 MB / 0.8444 GB, free: 7.141 MB / 394.7 MB