Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 190.2 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.65/1.65, allocations: 251.7 MB / 0.5088 GB, free: 3.332 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 71.64 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7149, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01681/0.7318, allocations: 15.02 MB / 0.7385 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00626/0.7381, allocations: 3.841 MB / 0.7422 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008694/0.739, allocations: 23.88 kB / 0.7422 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.7399, allocations: 155.1 kB / 0.7424 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.742, allocations: 0.6168 MB / 0.743 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.7435, allocations: 428.3 kB / 0.7434 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.7455, allocations: 1.356 MB / 0.7447 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.746, allocations: 233.1 kB / 0.7449 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.7468, allocations: 382.3 kB / 0.7453 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.7472, allocations: 266.8 kB / 0.7456 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.7472, allocations: 16 kB / 0.7456 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.7488, allocations: 0.6977 MB / 0.7463 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.749, allocations: 59.7 kB / 0.7463 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.7492, allocations: 186.9 kB / 0.7465 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.7504, allocations: 0.6972 MB / 0.7472 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7504, allocations: 4 kB / 0.7472 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7504, allocations: 0 / 0.7472 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.7504, allocations: 0 / 0.7472 GB, free: 5.133 MB / 0.5606 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.001378/0.7518, allocations: 0.7475 MB / 0.7479 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.7519, allocations: 15.97 kB / 0.7479 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.752, allocations: 48.38 kB / 0.748 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/0.7529, allocations: 0.4976 MB / 0.7485 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.7529, allocations: 12.33 kB / 0.7485 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.753, allocations: 16 kB / 0.7485 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.7534, allocations: 180.2 kB / 0.7487 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.7534, allocations: 0 / 0.7487 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.7534, allocations: 11.94 kB / 0.7487 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7534, allocations: 4 kB / 0.7487 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.7538, allocations: 139.8 kB / 0.7488 GB, free: 3.375 MB / 0.5606 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.001136/0.7549, allocations: 0.8529 MB / 0.7496 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.7552, allocations: 122.6 kB / 0.7498 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.7554, allocations: 72.81 kB / 0.7498 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.7558, allocations: 336.4 kB / 0.7501 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.7558, allocations: 42.48 kB / 0.7502 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.7558, allocations: 0 / 0.7502 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005966/0.7564, allocations: 221.1 kB / 0.7504 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.7565, allocations: 55.34 kB / 0.7505 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.7569, allocations: 345.7 kB / 0.7508 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.7569, allocations: 25.7 kB / 0.7508 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.7571, allocations: 192.3 kB / 0.751 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.7572, allocations: 47.38 kB / 0.751 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.7573, allocations: 33.7 kB / 0.7511 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7575, allocations: 346.8 kB / 0.7514 GB, free: 484 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.7576, allocations: 48.83 kB / 0.7514 GB, free: 432 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.7578, allocations: 84.25 kB / 0.7515 GB, free: 332 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.7581, allocations: 125.6 kB / 0.7516 GB, free: 200 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7581, allocations: 0 / 0.7516 GB, free: 200 kB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003623/0.7585, allocations: 173.2 kB / 0.7518 GB, free: 20 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.7585, allocations: 11.94 kB / 0.7518 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.7585, allocations: 3.938 kB / 0.7518 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7585, allocations: 0 / 0.7518 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.7587, allocations: 28.03 kB / 0.7519 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.7587, allocations: 0 / 0.7519 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.759, allocations: 27.89 kB / 0.7519 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.759, allocations: 12.02 kB / 0.7519 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000211/0.7592, allocations: 156 kB / 0.752 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001709/0.7594, allocations: 92.19 kB / 0.7521 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002415/0.7596, allocations: 105.7 kB / 0.7522 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.7597, allocations: 0 / 0.7522 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003359/0.76, allocations: 173.1 kB / 0.7524 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.76, allocations: 7.984 kB / 0.7524 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.76, allocations: 3.938 kB / 0.7524 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/0.76, allocations: 8 kB / 0.7524 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.7601, allocations: 24.11 kB / 0.7524 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.7602, allocations: 4 kB / 0.7524 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.7603, allocations: 31.81 kB / 0.7525 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.7604, allocations: 4 kB / 0.7525 GB, free: 15.31 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.7605, allocations: 188.3 kB / 0.7527 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.7606, allocations: 35.56 kB / 0.7527 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.761, allocations: 228.7 kB / 0.7529 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.7611, allocations: 4 kB / 0.7529 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7611, allocations: 0 / 0.7529 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7611, allocations: 0 / 0.7529 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.762, allocations: 0.643 MB / 0.7535 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.762, allocations: 4 kB / 0.7535 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.7621, allocations: 23.98 kB / 0.7536 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7621, allocations: 4.094 kB / 0.7536 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7621, allocations: 0 / 0.7536 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.7621, allocations: 4 kB / 0.7536 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7621, allocations: 4.078 kB / 0.7536 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.7626, allocations: 325.4 kB / 0.7539 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7627, allocations: 124.7 kB / 0.754 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.7627, allocations: 7.938 kB / 0.754 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.763, allocations: 27.97 kB / 0.754 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.763, allocations: 7.984 kB / 0.754 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.763, allocations: 4 kB / 0.754 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002367/0.7633, allocations: 255.1 kB / 0.7543 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7633, allocations: 0 / 0.7543 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006517/0.7639, allocations: 195.6 kB / 0.7545 GB, free: 13.13 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005931/0.7645, allocations: 251.8 kB / 0.7547 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.7651, allocations: 187.8 kB / 0.7549 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7651, allocations: 0 / 0.7549 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.7653, allocations: 87.77 kB / 0.755 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.7661, allocations: 137.9 kB / 0.7551 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.767, allocations: 0.6665 MB / 0.7558 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.7673, allocations: 0.7921 MB / 0.7565 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7675, allocations: 79.25 kB / 0.7566 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.7676, allocations: 27.44 kB / 0.7566 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.7676, allocations: 0 / 0.7566 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.01256/0.7802, allocations: 6.314 MB / 0.7628 GB, free: 4.645 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)