Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.002046/0.002046, 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.002597/0.002597, allocations: 194.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.097/3.097, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 62.23 kB / 0.9113 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01581/0.3742, allocations: 15 MB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.3796, allocations: 3.915 MB / 1.086 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.3802, allocations: 19.94 kB / 1.086 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.381, allocations: 163 kB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.3827, allocations: 0.6145 MB / 1.087 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3841, allocations: 421.8 kB / 1.087 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.386, allocations: 1.368 MB / 1.088 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.3863, allocations: 257 kB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006012/0.3869, allocations: 362.4 kB / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.3873, allocations: 270.7 kB / 1.089 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.3873, allocations: 12 kB / 1.089 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.3885, allocations: 0.6939 MB / 1.09 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3887, allocations: 71.67 kB / 1.09 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.3889, allocations: 179 kB / 1.09 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000937/0.3898, allocations: 0.7089 MB / 1.091 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3898, allocations: 0 / 1.091 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3898, allocations: 0 / 1.091 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3898, allocations: 0 / 1.091 GB, free: 2.828 MB / 0.8419 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.001171/0.391, allocations: 0.7474 MB / 1.092 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3911, allocations: 8.031 kB / 1.092 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.3912, allocations: 40.47 kB / 1.092 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.392, allocations: 0.5016 MB / 1.092 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3921, allocations: 12.33 kB / 1.092 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.3921, allocations: 20 kB / 1.092 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.3925, allocations: 184.1 kB / 1.092 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3925, allocations: 0 / 1.092 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3925, allocations: 4 kB / 1.092 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3925, allocations: 4 kB / 1.092 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.3929, allocations: 143.8 kB / 1.093 GB, free: 1.082 MB / 0.8419 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.001143/0.394, allocations: 0.8566 MB / 1.093 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3943, allocations: 118.6 kB / 1.094 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.3945, allocations: 72.89 kB / 1.094 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.3949, allocations: 336.4 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3949, allocations: 38.5 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.3949, allocations: 0 / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005766/0.3955, allocations: 217.1 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3956, allocations: 55.41 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.3959, allocations: 341.7 kB / 1.095 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3959, allocations: 33.7 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3961, allocations: 196.2 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.3961, allocations: 35.45 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.3962, allocations: 41.61 kB / 1.095 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3963, allocations: 346.8 kB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3965, allocations: 48.77 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3966, allocations: 92.19 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.3969, allocations: 121.6 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3969, allocations: 0 / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003792/0.3973, allocations: 181.1 kB / 1.096 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3973, allocations: 9.344 kB / 1.096 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3973, allocations: 0 / 1.096 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3974, allocations: 4 kB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3975, allocations: 24.05 kB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3975, allocations: 11.98 kB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3978, allocations: 27.91 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.3978, allocations: 7.984 kB / 1.096 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002251/0.3981, allocations: 160.1 kB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001532/0.3982, allocations: 80.25 kB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002546/0.3985, allocations: 113.6 kB / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.3985, allocations: 0 / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003508/0.3988, allocations: 181.1 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.3989, allocations: 4 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-06/0.3989, allocations: 4 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.3989, allocations: 3.938 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.399, allocations: 31.91 kB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.399, allocations: 0 / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3992, allocations: 23.98 kB / 1.096 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3992, allocations: 7.984 kB / 1.096 GB, free: 13 MB / 0.8575 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.0001088/0.3994, allocations: 188.9 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.3994, allocations: 39.47 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.3999, allocations: 231.4 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.4, allocations: 4 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4, allocations: 0 / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4, allocations: 0 / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008851/0.4009, allocations: 0.6295 MB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4009, allocations: 0 / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.401, allocations: 32 kB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.401, allocations: 4 kB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.401, allocations: 8 kB / 1.097 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.401, allocations: 0 / 1.097 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.401, allocations: 0 / 1.097 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.4015, allocations: 324.4 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4016, allocations: 120.7 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.4017, allocations: 8 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.4019, allocations: 19.97 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.402, allocations: 15.98 kB / 1.098 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.402, allocations: 8 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002514/0.4023, allocations: 247.2 kB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4023, allocations: 0 / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005992/0.4029, allocations: 191.5 kB / 1.098 GB, free: 10.84 MB / 0.8575 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.0005617/0.4034, allocations: 267.5 kB / 1.098 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.4039, allocations: 183.8 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.404, allocations: 0 / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.4041, allocations: 75.89 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.405, allocations: 145.8 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.4059, allocations: 0.6667 MB / 1.1 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.4062, allocations: 0.7959 MB / 1.1 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002384/0.4065, allocations: 79.05 kB / 1.1 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.4065, allocations: 35.81 kB / 1.1 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.4066, allocations: 0 / 1.1 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of Templates: time 0.01256/0.4191, allocations: 6.298 MB / 1.107 GB, free: 2.344 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)