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.0008508/0.000851, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001066/0.001066, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.833/1.833, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005499/0.0005501, allocations: 16.88 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2609, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01795/0.2789, allocations: 13.78 MB / 0.8008 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006128/0.2851, allocations: 3.571 MB / 0.8043 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.2859, allocations: 19.88 kB / 0.8044 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.2866, allocations: 131.1 kB / 0.8045 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2889, allocations: 0.5607 MB / 0.805 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.2903, allocations: 401.7 kB / 0.8054 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.2923, allocations: 1.189 MB / 0.8066 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.2929, allocations: 220.6 kB / 0.8068 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009591/0.2939, allocations: 354.4 kB / 0.8071 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.2945, allocations: 254.8 kB / 0.8074 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.2945, allocations: 12 kB / 0.8074 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2961, allocations: 0.6315 MB / 0.808 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2962, allocations: 59.69 kB / 0.808 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.2964, allocations: 93.52 kB / 0.8081 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009988/0.2974, allocations: 487 kB / 0.8086 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2974, allocations: 0 / 0.8086 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2974, allocations: 0 / 0.8086 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.2974, allocations: 0 / 0.8086 GB, free: 6.055 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.001528/0.299, allocations: 0.7006 MB / 0.8093 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.2991, allocations: 8.031 kB / 0.8093 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.381e-05/0.2992, allocations: 50.55 kB / 0.8093 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.2993, allocations: 43.44 kB / 0.8094 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.3006, allocations: 485.1 kB / 0.8098 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3007, allocations: 16.33 kB / 0.8099 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.3007, allocations: 19.94 kB / 0.8099 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.3012, allocations: 184.2 kB / 0.8101 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3012, allocations: 0 / 0.8101 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.3012, allocations: 4 kB / 0.8101 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3012, allocations: 4 kB / 0.8101 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.3016, allocations: 148.2 kB / 0.8102 GB, free: 4.305 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.001184/0.3028, allocations: 0.8723 MB / 0.8111 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.303, allocations: 122.6 kB / 0.8112 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3032, allocations: 76.81 kB / 0.8112 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.3036, allocations: 340.4 kB / 0.8116 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3036, allocations: 38.5 kB / 0.8116 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3036, allocations: 0 / 0.8116 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.0005768/0.3042, allocations: 233.4 kB / 0.8118 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3042, allocations: 51.41 kB / 0.8119 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.3046, allocations: 341.7 kB / 0.8122 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3047, allocations: 33.7 kB / 0.8122 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.3049, allocations: 196.2 kB / 0.8124 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.305, allocations: 35.45 kB / 0.8125 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.305, allocations: 12 kB / 0.8125 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3052, allocations: 334.8 kB / 0.8128 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3053, allocations: 59.89 kB / 0.8128 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.3055, allocations: 92.3 kB / 0.8129 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.3057, allocations: 55.91 kB / 0.813 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3057, allocations: 0 / 0.813 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003504/0.3061, allocations: 189.1 kB / 0.8132 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.3061, allocations: 101.8 kB / 0.8133 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3061, allocations: 4 kB / 0.8133 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3062, allocations: 0 / 0.8133 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3063, allocations: 31.98 kB / 0.8133 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3063, allocations: 4 kB / 0.8133 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.3066, allocations: 35.81 kB / 0.8133 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.3066, allocations: 8 kB / 0.8133 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.3066, allocations: 6.969 kB / 0.8133 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002734/0.3069, allocations: 123.9 kB / 0.8135 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.3069, allocations: 0 / 0.8135 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/0.3069, allocations: 4 kB / 0.8135 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.307, allocations: 23.98 kB / 0.8135 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.307, allocations: 0 / 0.8135 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.3072, allocations: 35.88 kB / 0.8135 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3073, allocations: 4 kB / 0.8135 GB, free: 0.6211 MB / 0.6231 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.0001757/0.3074, allocations: 227.8 kB / 0.8137 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.3075, allocations: 35.62 kB / 0.8138 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.308, allocations: 232.8 kB / 0.814 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.308, allocations: 4 kB / 0.814 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.308, allocations: 0 / 0.814 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.308, allocations: 3.984 kB / 0.814 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3091, allocations: 0.6482 MB / 0.8146 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3091, allocations: 0 / 0.8146 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3093, allocations: 32.08 kB / 0.8147 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3093, allocations: 0 / 0.8147 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3093, allocations: 8.094 kB / 0.8147 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3093, allocations: 3.938 kB / 0.8147 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3093, allocations: 7.953 kB / 0.8147 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.3098, allocations: 325.6 kB / 0.815 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.31, allocations: 128.6 kB / 0.8151 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.31, allocations: 4.188 kB / 0.8151 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3102, allocations: 31.91 kB / 0.8152 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3103, allocations: 19.88 kB / 0.8152 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3103, allocations: 11.94 kB / 0.8152 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000237/0.3106, allocations: 243.2 kB / 0.8154 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3106, allocations: 0 / 0.8154 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006063/0.3112, allocations: 183.7 kB / 0.8156 GB, free: 14.38 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 (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.001188/0.3124, allocations: 0.9894 MB / 0.8166 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.3129, allocations: 203.8 kB / 0.8168 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3129, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.3131, allocations: 79.89 kB / 0.8168 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.3139, allocations: 154 kB / 0.817 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.317, allocations: 1.779 MB / 0.8187 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.3175, allocations: 0.7959 MB / 0.8195 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.3179, allocations: 83.08 kB / 0.8196 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.318, allocations: 115.3 kB / 0.8197 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.3181, allocations: 0 / 0.8197 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.3442, allocations: 9.56 MB / 0.829 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.3444, allocations: 228.5 kB / 0.8292 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.402, allocations: 0 / 0.8292 GB, free: 0.5352 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: