Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.559/1.559, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.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.001608/0.001608, allocations: 70.09 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2583, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02149/0.2799, allocations: 15.05 MB / 0.7982 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006619/0.2866, allocations: 3.825 MB / 0.8019 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.2872, allocations: 23.88 kB / 0.8019 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.2878, allocations: 182.7 kB / 0.8021 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.2897, allocations: 0.6803 MB / 0.8028 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2909, allocations: 473.1 kB / 0.8032 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2923, allocations: 1.076 MB / 0.8043 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.2928, allocations: 285.6 kB / 0.8045 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.2934, allocations: 402.5 kB / 0.8049 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.2937, allocations: 262.8 kB / 0.8052 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.2938, allocations: 20 kB / 0.8052 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.2951, allocations: 0.7134 MB / 0.8059 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2952, allocations: 75.62 kB / 0.806 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2954, allocations: 187 kB / 0.8061 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.2964, allocations: 0.7167 MB / 0.8068 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2965, allocations: 4 kB / 0.8068 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2965, allocations: 0 / 0.8068 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.2965, allocations: 3.984 kB / 0.8068 GB, free: 5.352 MB / 0.6231 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.001149/0.2976, allocations: 0.7435 MB / 0.8076 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2977, allocations: 12.03 kB / 0.8076 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.2978, allocations: 50.67 kB / 0.8076 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.464e-05/0.2978, allocations: 44.47 kB / 0.8077 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.2987, allocations: 497.5 kB / 0.8081 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2987, allocations: 16.33 kB / 0.8082 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2988, allocations: 19.94 kB / 0.8082 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.2991, allocations: 184.2 kB / 0.8084 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2992, allocations: 0 / 0.8084 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2992, allocations: 11.98 kB / 0.8084 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2992, allocations: 4 kB / 0.8084 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.2995, allocations: 135.8 kB / 0.8085 GB, free: 3.551 MB / 0.6231 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.00112/0.3007, allocations: 0.8683 MB / 0.8094 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3009, allocations: 114.7 kB / 0.8095 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.3011, allocations: 76.8 kB / 0.8095 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.3015, allocations: 336.4 kB / 0.8099 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3015, allocations: 46.44 kB / 0.8099 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.3015, allocations: 0 / 0.8099 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005674/0.3021, allocations: 221 kB / 0.8101 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3022, allocations: 51.41 kB / 0.8102 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.3025, allocations: 349.7 kB / 0.8105 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.3026, allocations: 25.7 kB / 0.8105 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3027, allocations: 192.3 kB / 0.8107 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.3028, allocations: 43.36 kB / 0.8107 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3029, allocations: 33.7 kB / 0.8108 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.303, allocations: 346.8 kB / 0.8111 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3031, allocations: 48.83 kB / 0.8112 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3034, allocations: 92.19 kB / 0.8112 GB, free: 496 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3036, allocations: 117.6 kB / 0.8114 GB, free: 372 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3037, allocations: 0 / 0.8114 GB, free: 372 kB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003847/0.304, allocations: 177.1 kB / 0.8115 GB, free: 188 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3041, allocations: 4.938 kB / 0.8115 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3041, allocations: 11.97 kB / 0.8115 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3041, allocations: 7.938 kB / 0.8115 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.3043, allocations: 27.98 kB / 0.8116 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3043, allocations: 0 / 0.8116 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3045, allocations: 23.81 kB / 0.8116 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.3045, allocations: 4 kB / 0.8116 GB, free: 108 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002317/0.3048, allocations: 156.1 kB / 0.8117 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001601/0.3049, allocations: 88.25 kB / 0.8118 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00025/0.3052, allocations: 117.6 kB / 0.8119 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.3052, allocations: 0 / 0.8119 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003569/0.3056, allocations: 165.2 kB / 0.8121 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3056, allocations: 11.94 kB / 0.8121 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.3056, allocations: 4 kB / 0.8121 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.3056, allocations: 0 / 0.8121 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3057, allocations: 27.92 kB / 0.8121 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.3057, allocations: 0 / 0.8121 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3059, allocations: 15.98 kB / 0.8122 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3059, allocations: 7.984 kB / 0.8122 GB, free: 15.49 MB / 0.6387 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.000126/0.306, allocations: 187.1 kB / 0.8123 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.3061, allocations: 43.47 kB / 0.8124 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.3067, allocations: 233.4 kB / 0.8126 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3067, allocations: 0 / 0.8126 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3067, allocations: 0 / 0.8126 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3067, allocations: 4 kB / 0.8126 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/0.3076, allocations: 0.6373 MB / 0.8132 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3076, allocations: 0 / 0.8132 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3077, allocations: 31.91 kB / 0.8133 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3078, allocations: 96 / 0.8133 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3078, allocations: 16.06 kB / 0.8133 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3078, allocations: 0 / 0.8133 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3078, allocations: 4 kB / 0.8133 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.3082, allocations: 321.5 kB / 0.8136 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3084, allocations: 124.7 kB / 0.8137 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3084, allocations: 0 / 0.8137 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3086, allocations: 19.97 kB / 0.8137 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3087, allocations: 11.98 kB / 0.8137 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3087, allocations: 11.94 kB / 0.8137 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002484/0.3089, allocations: 243.2 kB / 0.814 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.309, allocations: 0 / 0.814 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006496/0.3096, allocations: 191.6 kB / 0.8142 GB, free: 13.31 MB / 0.6387 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.001139/0.3108, allocations: 1.001 MB / 0.8151 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005621/0.3113, allocations: 203.7 kB / 0.8153 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3113, allocations: 0 / 0.8153 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3115, allocations: 75.89 kB / 0.8154 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.3124, allocations: 157.2 kB / 0.8156 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.3163, allocations: 2.738 MB / 0.8182 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.3168, allocations: 0.8034 MB / 0.819 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002827/0.3171, allocations: 70.91 kB / 0.8191 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3172, allocations: 111.4 kB / 0.8192 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.3173, allocations: 0 / 0.8192 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.3487, allocations: 9.972 MB / 0.8289 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.358, allocations: 11.75 kB / 0.8289 GB, free: 14.23 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)