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.009402/0.009402, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.00191/0.00191, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.85/1.85, allocations: 251.7 MB / 0.5094 GB, free: 3.094 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.001579/0.001579, allocations: 68.28 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3245, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02088/0.3455, allocations: 15.06 MB / 0.8427 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007109/0.3526, allocations: 3.82 MB / 0.8465 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/0.3534, allocations: 15.94 kB / 0.8465 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007442/0.3542, allocations: 182.7 kB / 0.8467 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.3564, allocations: 0.7222 MB / 0.8474 GB, free: 12.37 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3582, allocations: 470.8 kB / 0.8478 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002097/0.3603, allocations: 1.08 MB / 0.8489 GB, free: 10.83 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/0.3609, allocations: 285.5 kB / 0.8491 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.3619, allocations: 410.4 kB / 0.8495 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/0.3624, allocations: 258.8 kB / 0.8498 GB, free: 9.891 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.3624, allocations: 28 kB / 0.8498 GB, free: 9.863 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.3641, allocations: 0.7212 MB / 0.8505 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3642, allocations: 71.64 kB / 0.8506 GB, free: 9.07 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3644, allocations: 187 kB / 0.8508 GB, free: 8.887 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3656, allocations: 0.7204 MB / 0.8515 GB, free: 8.168 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3656, allocations: 0 / 0.8515 GB, free: 8.168 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3656, allocations: 0 / 0.8515 GB, free: 8.168 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.3657, allocations: 0 / 0.8515 GB, free: 8.168 MB / 0.67 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.001402/0.3671, allocations: 0.7537 MB / 0.8522 GB, free: 7.363 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.3671, allocations: 8.031 kB / 0.8522 GB, free: 7.355 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.3673, allocations: 52.38 kB / 0.8522 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.3687, allocations: 0.5094 MB / 0.8527 GB, free: 6.754 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.3687, allocations: 12.33 kB / 0.8528 GB, free: 6.742 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.3688, allocations: 27.98 kB / 0.8528 GB, free: 6.715 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.3693, allocations: 172.2 kB / 0.8529 GB, free: 6.543 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3693, allocations: 0 / 0.8529 GB, free: 6.543 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3693, allocations: 8 kB / 0.853 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3693, allocations: 4 kB / 0.853 GB, free: 6.531 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.3697, allocations: 140.2 kB / 0.8531 GB, free: 6.395 MB / 0.67 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.001455/0.3711, allocations: 0.8605 MB / 0.8539 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3715, allocations: 122.6 kB / 0.8541 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3716, allocations: 68.81 kB / 0.8541 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.372, allocations: 340.4 kB / 0.8544 GB, free: 4.828 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.372, allocations: 34.5 kB / 0.8545 GB, free: 4.785 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/0.372, allocations: 3.938 kB / 0.8545 GB, free: 4.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.0006572/0.3727, allocations: 217.5 kB / 0.8547 GB, free: 4.562 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3728, allocations: 59.34 kB / 0.8547 GB, free: 4.492 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.3732, allocations: 345.7 kB / 0.8551 GB, free: 4.148 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.3732, allocations: 29.7 kB / 0.8551 GB, free: 4.113 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3734, allocations: 196.2 kB / 0.8553 GB, free: 3.914 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3735, allocations: 39.44 kB / 0.8553 GB, free: 3.875 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.3735, allocations: 37.7 kB / 0.8554 GB, free: 3.832 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3737, allocations: 334.8 kB / 0.8557 GB, free: 3.496 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3739, allocations: 64.75 kB / 0.8557 GB, free: 3.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3741, allocations: 92.23 kB / 0.8558 GB, free: 3.324 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.3744, allocations: 113.7 kB / 0.8559 GB, free: 3.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3744, allocations: 0 / 0.8559 GB, free: 3.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003808/0.3748, allocations: 181.2 kB / 0.8561 GB, free: 3.023 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3748, allocations: 7.938 kB / 0.8561 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3748, allocations: 3.984 kB / 0.8561 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3749, allocations: 0 / 0.8561 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3751, allocations: 27.92 kB / 0.8561 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3751, allocations: 0 / 0.8561 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3753, allocations: 31.83 kB / 0.8562 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.3753, allocations: 7.984 kB / 0.8562 GB, free: 2.945 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002108/0.3755, allocations: 152.1 kB / 0.8563 GB, free: 2.793 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001632/0.3757, allocations: 88.19 kB / 0.8564 GB, free: 2.691 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002554/0.376, allocations: 117.6 kB / 0.8565 GB, free: 2.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.376, allocations: 0 / 0.8565 GB, free: 2.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003745/0.3764, allocations: 173.2 kB / 0.8567 GB, free: 2.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3764, allocations: 4 kB / 0.8567 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3764, allocations: 7.922 kB / 0.8567 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.3764, allocations: 4 kB / 0.8567 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3765, allocations: 24.11 kB / 0.8567 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3765, allocations: 11.94 kB / 0.8567 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3767, allocations: 19.89 kB / 0.8568 GB, free: 2.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3768, allocations: 8 kB / 0.8568 GB, free: 2.316 MB / 0.67 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.0002287/0.377, allocations: 188.2 kB / 0.8569 GB, free: 2.125 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.3771, allocations: 39.55 kB / 0.857 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.3776, allocations: 217 kB / 0.8572 GB, free: 1.867 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.3776, allocations: 11.98 kB / 0.8572 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3777, allocations: 0 / 0.8572 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3777, allocations: 0 / 0.8572 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3788, allocations: 0.6264 MB / 0.8578 GB, free: 1.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3788, allocations: 4 kB / 0.8578 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.379, allocations: 28.02 kB / 0.8578 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.379, allocations: 4 kB / 0.8579 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.379, allocations: 0 / 0.8579 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.379, allocations: 7.984 kB / 0.8579 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.379, allocations: 0 / 0.8579 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.3795, allocations: 328.5 kB / 0.8582 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3797, allocations: 124.6 kB / 0.8583 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.3797, allocations: 7.938 kB / 0.8583 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3799, allocations: 15.98 kB / 0.8583 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.38, allocations: 7.984 kB / 0.8583 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.38, allocations: 8 kB / 0.8583 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003035/0.3804, allocations: 255.1 kB / 0.8586 GB, free: 360 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3804, allocations: 0 / 0.8586 GB, free: 360 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007428/0.3811, allocations: 187.7 kB / 0.8588 GB, free: 172 kB / 0.67 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.0007727/0.3819, allocations: 244.3 kB / 0.859 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3825, allocations: 195.8 kB / 0.8592 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3825, allocations: 0 / 0.8592 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.3827, allocations: 75.89 kB / 0.8592 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.3836, allocations: 157 kB / 0.8594 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3846, allocations: 0.5515 MB / 0.8599 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.3851, allocations: 0.7957 MB / 0.8607 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.3854, allocations: 78.97 kB / 0.8608 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.3855, allocations: 31.42 kB / 0.8608 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of SimCode: time 2.11e-07/0.3855, allocations: 3.938 kB / 0.8608 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of Templates: time 0.01509/0.4006, allocations: 6.592 MB / 0.8673 GB, free: 7.504 MB / 0.6856 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)