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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001293/0.001293, allocations: 181.1 kB / 377.1 MB, free: 1.496 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.82/1.82, allocations: 205.4 MB / 0.6366 GB, free: 8.57 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 80.36 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003226, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2865, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.681/1.968, allocations: 402.8 MB / 1.382 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.968, allocations: 89.66 kB / 1.382 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3424/2.311, allocations: 168.1 MB / 1.546 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.335e-06/2.311, allocations: 0 / 1.546 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.298e-05/2.311, allocations: 15.98 kB / 1.546 GB, free: 191.5 MB / 0.9323 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.001385/2.312, allocations: 0.7598 MB / 1.547 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/2.312, allocations: 16.03 kB / 1.547 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/2.312, allocations: 46.55 kB / 1.547 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/2.313, allocations: 46.97 kB / 1.547 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02612/2.339, allocations: 13.75 MB / 1.56 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/2.339, allocations: 12.33 kB / 1.56 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/2.339, allocations: 28 kB / 1.56 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/2.339, allocations: 169.9 kB / 1.56 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/2.339, allocations: 0 / 1.56 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/2.339, allocations: 8 kB / 1.56 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/2.339, allocations: 6.406 kB / 1.56 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/2.34, allocations: 140.2 kB / 1.561 GB, free: 176.2 MB / 0.9323 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.001022/2.341, allocations: 0.8372 MB / 1.561 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/2.341, allocations: 114.6 kB / 1.562 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/2.341, allocations: 340.6 kB / 1.562 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/2.341, allocations: 42.44 kB / 1.562 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/2.341, allocations: 0 / 1.562 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0004987/2.342, allocations: 217.1 kB / 1.562 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/2.342, allocations: 61.14 kB / 1.562 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/2.342, allocations: 284.9 kB / 1.562 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/2.342, allocations: 25.7 kB / 1.562 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/2.342, allocations: 192.4 kB / 1.563 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/2.342, allocations: 39.31 kB / 1.563 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/2.342, allocations: 8 kB / 1.563 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/2.342, allocations: 346.8 kB / 1.563 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/2.342, allocations: 47.91 kB / 1.563 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/2.342, allocations: 106.8 kB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/2.343, allocations: 51.97 kB / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/2.343, allocations: 0 / 1.563 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002946/2.343, allocations: 173.2 kB / 1.563 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/2.343, allocations: 178 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/2.343, allocations: 3.938 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/2.343, allocations: 8 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/2.343, allocations: 31.92 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/2.343, allocations: 4 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/2.343, allocations: 27.89 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/2.343, allocations: 11.98 kB / 1.564 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/2.343, allocations: 8 kB / 1.564 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002394/2.344, allocations: 112.1 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/2.344, allocations: 0 / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/2.344, allocations: 96 / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/2.344, allocations: 39.84 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-06/2.344, allocations: 4 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/2.344, allocations: 23.92 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/2.344, allocations: 8 kB / 1.564 GB, free: 172.7 MB / 0.9323 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.0001499/2.344, allocations: 229 kB / 1.564 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/2.344, allocations: 39.53 kB / 1.564 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/2.345, allocations: 225.4 kB / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/2.345, allocations: 4 kB / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/2.345, allocations: 0 / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/2.345, allocations: 4 kB / 1.564 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/2.345, allocations: 0.6022 MB / 1.565 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/2.345, allocations: 96 / 1.565 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/2.345, allocations: 35.91 kB / 1.565 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.345, allocations: 4 kB / 1.565 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/2.345, allocations: 0 / 1.565 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/2.345, allocations: 4 kB / 1.565 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.345, allocations: 0 / 1.565 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/2.346, allocations: 363.5 kB / 1.565 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/2.346, allocations: 120.7 kB / 1.565 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/2.346, allocations: 11.95 kB / 1.565 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/2.346, allocations: 23.83 kB / 1.565 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/2.346, allocations: 15.98 kB / 1.565 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/2.346, allocations: 7.984 kB / 1.565 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001714/2.346, allocations: 235.2 kB / 1.566 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/2.346, allocations: 0 / 1.566 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005917/2.347, allocations: 159.8 kB / 1.566 GB, free: 170.5 MB / 0.9323 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.001014/2.348, allocations: 1.288 MB / 1.567 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004346/2.349, allocations: 187.8 kB / 1.567 GB, free: 169 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/2.349, allocations: 0 / 1.567 GB, free: 169 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/2.349, allocations: 83.89 kB / 1.567 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/2.349, allocations: 139.7 kB / 1.567 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/2.351, allocations: 1.862 MB / 1.569 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/2.352, allocations: 0.7999 MB / 1.57 GB, free: 166 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002516/2.352, allocations: 67.22 kB / 1.57 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/2.352, allocations: 111.4 kB / 1.57 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/2.352, allocations: 0 / 1.57 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/2.374, allocations: 10.11 MB / 1.58 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.375, allocations: 217.9 kB / 1.58 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/4.972, allocations: 0 / 1.58 GB, free: 155.6 MB / 0.9323 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)