Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.2 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 185.9 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 98.86 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004021, allocations: 19.64 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2567, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01886/0.2756, allocations: 12.63 MB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007327/0.283, allocations: 3.283 MB / 0.995 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.2836, allocations: 19.88 kB / 0.995 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000875/0.2845, allocations: 167.2 kB / 0.9952 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.2873, allocations: 0.6582 MB / 0.9958 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.2899, allocations: 0.538 MB / 0.9964 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001771/0.2917, allocations: 0.7262 MB / 0.9971 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000557/0.2923, allocations: 234.7 kB / 0.9973 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008639/0.2931, allocations: 330.9 kB / 0.9976 GB, free: 9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.2935, allocations: 191.2 kB / 0.9978 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.2935, allocations: 12 kB / 0.9978 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.295, allocations: 0.4991 MB / 0.9983 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.2951, allocations: 55.75 kB / 0.9983 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.2952, allocations: 93.52 kB / 0.9984 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008265/0.2961, allocations: 443 kB / 0.9988 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2961, allocations: 4 kB / 0.9989 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2961, allocations: 0 / 0.9989 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2961, allocations: 0 / 0.9989 GB, free: 7.711 MB / 0.6198 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.001393/0.2975, allocations: 0.6773 MB / 0.9995 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.2976, allocations: 12.03 kB / 0.9995 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.574e-05/0.2977, allocations: 46.55 kB / 0.9996 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2978, allocations: 43.44 kB / 0.9996 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.2991, allocations: 437.3 kB / 1 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.2992, allocations: 12.33 kB / 1 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.2992, allocations: 19.98 kB / 1 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.2998, allocations: 184.2 kB / 1 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2999, allocations: 8 kB / 1 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.2999, allocations: 4 kB / 1 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2999, allocations: 4 kB / 1 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.3005, allocations: 156.1 kB / 1 GB, free: 6.023 MB / 0.6198 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.001614/0.3021, allocations: 0.884 MB / 1.001 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.3027, allocations: 122.6 kB / 1.001 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.303, allocations: 340.3 kB / 1.002 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3031, allocations: 34.56 kB / 1.002 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.334e-06/0.3031, allocations: 4 kB / 1.002 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0009068/0.304, allocations: 233.3 kB / 1.002 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3041, allocations: 51.41 kB / 1.002 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.3046, allocations: 373.7 kB / 1.002 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3047, allocations: 29.7 kB / 1.002 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3048, allocations: 196.2 kB / 1.003 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.3049, allocations: 35.45 kB / 1.003 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.3049, allocations: 8 kB / 1.003 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.305, allocations: 338.8 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3053, allocations: 55.97 kB / 1.003 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.3056, allocations: 92.17 kB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3058, allocations: 59.97 kB / 1.003 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3058, allocations: 0 / 1.003 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005997/0.3064, allocations: 181.1 kB / 1.003 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/0.3065, allocations: 190 kB / 1.004 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.3065, allocations: 0 / 1.004 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3066, allocations: 3.938 kB / 1.004 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3068, allocations: 35.91 kB / 1.004 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3068, allocations: 0 / 1.004 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.3073, allocations: 35.91 kB / 1.004 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.3074, allocations: 4 kB / 1.004 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3074, allocations: 5.5 kB / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000498/0.3079, allocations: 127.8 kB / 1.004 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.3079, allocations: 4 kB / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/0.3079, allocations: 96 / 1.004 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3081, allocations: 31.97 kB / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3082, allocations: 3.938 kB / 1.004 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.3085, allocations: 43.77 kB / 1.004 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.3086, allocations: 4 kB / 1.004 GB, free: 2.277 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.3088, allocations: 218.1 kB / 1.004 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/0.3089, allocations: 35.53 kB / 1.004 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.3096, allocations: 240 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3097, allocations: 8 kB / 1.004 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3097, allocations: 0 / 1.004 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3097, allocations: 11.88 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.311, allocations: 0.6491 MB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3111, allocations: 0 / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3112, allocations: 27.92 kB / 1.005 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3113, allocations: 4 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3113, allocations: 8.016 kB / 1.005 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3113, allocations: 4 kB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3113, allocations: 4.094 kB / 1.005 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.3119, allocations: 370.5 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.3121, allocations: 132.7 kB / 1.005 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.3122, allocations: 0 / 1.005 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.3126, allocations: 35.88 kB / 1.005 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3127, allocations: 11.98 kB / 1.005 GB, free: 404 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3127, allocations: 4 kB / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004126/0.3132, allocations: 271.1 kB / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3132, allocations: 0 / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001051/0.3142, allocations: 191.8 kB / 1.006 GB, free: 15.94 MB / 0.6355 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 (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.001982/0.3162, allocations: 1.251 MB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008434/0.3171, allocations: 207.8 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/0.3171, allocations: 4 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.3174, allocations: 83.89 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.3188, allocations: 137.2 kB / 1.008 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.3236, allocations: 1.982 MB / 1.009 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.3242, allocations: 0.8079 MB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004904/0.3247, allocations: 83.17 kB / 1.01 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.3249, allocations: 111.4 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.904e-06/0.3249, allocations: 4 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.3613, allocations: 9.962 MB / 1.02 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.3616, allocations: 234.8 kB / 1.02 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/2.719, allocations: 0 / 1.02 GB, free: 1.18 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)