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.005909/0.005909, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00116/0.00116, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.666/1.666, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.667/1.667, allocations: 251.7 MB / 0.5094 GB, free: 3.086 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.001452/0.001452, allocations: 71.89 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2688, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01597/0.2848, allocations: 15.06 MB / 0.8427 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005787/0.2907, allocations: 3.813 MB / 0.8465 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005947/0.2913, allocations: 23.81 kB / 0.8465 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.292, allocations: 190.7 kB / 0.8467 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.2938, allocations: 0.6803 MB / 0.8473 GB, free: 12.38 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.2952, allocations: 479 kB / 0.8478 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2967, allocations: 1.072 MB / 0.8488 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.2972, allocations: 285.5 kB / 0.8491 GB, free: 10.56 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006642/0.2978, allocations: 398.4 kB / 0.8495 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.2982, allocations: 266.8 kB / 0.8497 GB, free: 9.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.2982, allocations: 20 kB / 0.8498 GB, free: 9.891 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.2995, allocations: 0.7212 MB / 0.8505 GB, free: 9.168 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.2997, allocations: 71.69 kB / 0.8505 GB, free: 9.098 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.2999, allocations: 187 kB / 0.8507 GB, free: 8.914 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3009, allocations: 0.7245 MB / 0.8514 GB, free: 8.188 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3009, allocations: 0 / 0.8514 GB, free: 8.188 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.301, allocations: 3.938 kB / 0.8514 GB, free: 8.184 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.301, allocations: 0 / 0.8514 GB, free: 8.184 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.001241/0.3022, allocations: 0.7513 MB / 0.8522 GB, free: 7.379 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3023, allocations: 8.031 kB / 0.8522 GB, free: 7.371 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.3024, allocations: 48.38 kB / 0.8522 GB, free: 7.324 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3034, allocations: 0.4977 MB / 0.8527 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3034, allocations: 12.33 kB / 0.8527 GB, free: 6.773 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.3035, allocations: 24 kB / 0.8527 GB, free: 6.75 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.3039, allocations: 180.1 kB / 0.8529 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3039, allocations: 0 / 0.8529 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3039, allocations: 8 kB / 0.8529 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3039, allocations: 4 kB / 0.8529 GB, free: 6.559 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.3043, allocations: 140.1 kB / 0.853 GB, free: 6.422 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.001169/0.3055, allocations: 0.8606 MB / 0.8539 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3057, allocations: 118.6 kB / 0.854 GB, free: 5.336 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3059, allocations: 80.81 kB / 0.8541 GB, free: 5.254 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003555/0.3063, allocations: 332.4 kB / 0.8544 GB, free: 4.855 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3064, allocations: 42.42 kB / 0.8544 GB, free: 4.805 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 3.457e-06/0.3064, allocations: 3.984 kB / 0.8544 GB, free: 4.801 MB / 0.67 GB Notification: Performance of matching and sorting (n=12): time 0.0006003/0.307, allocations: 221.3 kB / 0.8547 GB, free: 4.578 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.307, allocations: 55.41 kB / 0.8547 GB, free: 4.512 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.3074, allocations: 345.7 kB / 0.855 GB, free: 4.168 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3074, allocations: 29.7 kB / 0.8551 GB, free: 4.133 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3075, allocations: 196.2 kB / 0.8553 GB, free: 3.934 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.3076, allocations: 39.44 kB / 0.8553 GB, free: 3.895 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.3077, allocations: 37.7 kB / 0.8553 GB, free: 3.852 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3078, allocations: 338.8 kB / 0.8556 GB, free: 3.512 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.308, allocations: 56.83 kB / 0.8557 GB, free: 3.453 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3082, allocations: 88.3 kB / 0.8558 GB, free: 3.352 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3085, allocations: 117.6 kB / 0.8559 GB, free: 3.23 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3085, allocations: 0 / 0.8559 GB, free: 3.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003787/0.3089, allocations: 181.2 kB / 0.8561 GB, free: 3.047 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3089, allocations: 10.91 kB / 0.8561 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3089, allocations: 0 / 0.8561 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3089, allocations: 0 / 0.8561 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3091, allocations: 27.97 kB / 0.8561 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3091, allocations: 3.938 kB / 0.8561 GB, free: 3.008 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3093, allocations: 27.83 kB / 0.8561 GB, free: 2.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3093, allocations: 4 kB / 0.8561 GB, free: 2.977 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002326/0.3096, allocations: 156.1 kB / 0.8563 GB, free: 2.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001683/0.3098, allocations: 92.17 kB / 0.8564 GB, free: 2.715 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002522/0.31, allocations: 113.6 kB / 0.8565 GB, free: 2.598 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.31, allocations: 0 / 0.8565 GB, free: 2.598 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003475/0.3104, allocations: 177.2 kB / 0.8567 GB, free: 2.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.3104, allocations: 4 kB / 0.8567 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3104, allocations: 3.938 kB / 0.8567 GB, free: 2.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.3104, allocations: 4 kB / 0.8567 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3105, allocations: 19.98 kB / 0.8567 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3105, allocations: 4 kB / 0.8567 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3107, allocations: 19.88 kB / 0.8567 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3107, allocations: 12 kB / 0.8567 GB, free: 2.352 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.0001344/0.3109, allocations: 192.1 kB / 0.8569 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.311, allocations: 35.56 kB / 0.8569 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.3115, allocations: 221 kB / 0.8571 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.3115, allocations: 4 kB / 0.8572 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3115, allocations: 0 / 0.8572 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3115, allocations: 4 kB / 0.8572 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.3125, allocations: 0.6387 MB / 0.8578 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3125, allocations: 4 kB / 0.8578 GB, free: 1.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3126, allocations: 20.11 kB / 0.8578 GB, free: 1.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3126, allocations: 8 kB / 0.8578 GB, free: 1.156 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3126, allocations: 4.094 kB / 0.8578 GB, free: 1.152 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3126, allocations: 7.938 kB / 0.8578 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3126, allocations: 0 / 0.8578 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.3131, allocations: 317.5 kB / 0.8581 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3132, allocations: 132.6 kB / 0.8583 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.3133, allocations: 8 kB / 0.8583 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3135, allocations: 11.97 kB / 0.8583 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3135, allocations: 15.98 kB / 0.8583 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3136, allocations: 7.938 kB / 0.8583 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002573/0.3138, allocations: 251.2 kB / 0.8585 GB, free: 384 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3138, allocations: 3.938 kB / 0.8585 GB, free: 380 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006417/0.3145, allocations: 191.7 kB / 0.8587 GB, free: 188 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.0005727/0.3151, allocations: 229.9 kB / 0.8589 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.3156, allocations: 195.7 kB / 0.8591 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3156, allocations: 4 kB / 0.8591 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.3158, allocations: 75.89 kB / 0.8592 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.3166, allocations: 154.1 kB / 0.8593 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.3175, allocations: 0.5555 MB / 0.8599 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.3179, allocations: 0.7918 MB / 0.8607 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.3181, allocations: 82.97 kB / 0.8607 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.3182, allocations: 27.44 kB / 0.8608 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/0.3182, allocations: 0 / 0.8608 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of Templates: time 0.01342/0.3316, allocations: 6.6 MB / 0.8672 GB, free: 7.523 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)