Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.188/2.188, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001562, allocations: 173.2 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 97.97 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.374e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.813/2.007, allocations: 394.2 MB / 1.269 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/2.008, allocations: 84.28 kB / 1.269 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5915/2.599, allocations: 161.6 MB / 1.427 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.765e-06/2.599, allocations: 7.984 kB / 1.427 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.544e-05/2.599, allocations: 12 kB / 1.427 GB, free: 172.4 MB / 0.8698 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.001232/2.601, allocations: 0.6655 MB / 1.428 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/2.601, allocations: 8.031 kB / 1.428 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/2.601, allocations: 47.44 kB / 1.428 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04263/2.644, allocations: 13.3 MB / 1.441 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/2.644, allocations: 11.98 kB / 1.441 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/2.644, allocations: 12 kB / 1.441 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002963/2.644, allocations: 88.64 kB / 1.441 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/2.644, allocations: 135.9 kB / 1.441 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/2.644, allocations: 0 / 1.441 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/2.644, allocations: 0 / 1.441 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/2.644, allocations: 8 kB / 1.441 GB, free: 157.9 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001369/2.646, allocations: 0.7912 MB / 1.442 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/2.646, allocations: 102.5 kB / 1.442 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/2.646, allocations: 48.86 kB / 1.442 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/2.647, allocations: 336.4 kB / 1.442 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/2.647, allocations: 38.55 kB / 1.442 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 3.136e-06/2.647, allocations: 0 / 1.442 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0005072/2.647, allocations: 137.4 kB / 1.442 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/2.647, allocations: 59.39 kB / 1.442 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/2.647, allocations: 246.4 kB / 1.443 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/2.647, allocations: 25.7 kB / 1.443 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/2.648, allocations: 192.2 kB / 1.443 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/2.648, allocations: 39.31 kB / 1.443 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/2.648, allocations: 0 / 1.443 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/2.648, allocations: 350.8 kB / 1.443 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/2.648, allocations: 27.94 kB / 1.443 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/2.648, allocations: 78.84 kB / 1.443 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/2.648, allocations: 43.97 kB / 1.443 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.648, allocations: 4 kB / 1.443 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003653/2.649, allocations: 137.2 kB / 1.444 GB, free: 155 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/2.649, allocations: 182 kB / 1.444 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/2.649, allocations: 0 / 1.444 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/2.649, allocations: 7.891 kB / 1.444 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/2.649, allocations: 39.97 kB / 1.444 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/2.649, allocations: 0 / 1.444 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/2.649, allocations: 19.98 kB / 1.444 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/2.649, allocations: 7.984 kB / 1.444 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/2.649, allocations: 5.875 kB / 1.444 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002837/2.65, allocations: 80.02 kB / 1.444 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/2.65, allocations: 4 kB / 1.444 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/2.65, allocations: 0 / 1.444 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/2.65, allocations: 31.98 kB / 1.444 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/2.65, allocations: 7.875 kB / 1.444 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/2.65, allocations: 31.81 kB / 1.444 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/2.65, allocations: 8 kB / 1.444 GB, free: 154.6 MB / 0.8698 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 () * 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 8.329e-05/2.65, allocations: 108.9 kB / 1.444 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003486/2.651, allocations: 129.3 kB / 1.444 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/2.651, allocations: 31.62 kB / 1.444 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/2.651, allocations: 188.6 kB / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/2.651, allocations: 0 / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.651, allocations: 0 / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.651, allocations: 0 / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/2.652, allocations: 0.5254 MB / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.652, allocations: 0 / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/2.653, allocations: 35.86 kB / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/2.653, allocations: 0 / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/2.653, allocations: 4 kB / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/2.653, allocations: 3.984 kB / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.653, allocations: 4.094 kB / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/2.653, allocations: 310.8 kB / 1.445 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/2.653, allocations: 132.6 kB / 1.445 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/2.653, allocations: 4.031 kB / 1.445 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/2.654, allocations: 23.88 kB / 1.445 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/2.654, allocations: 16.06 kB / 1.445 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/2.654, allocations: 7.938 kB / 1.445 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000223/2.654, allocations: 204.6 kB / 1.446 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/2.654, allocations: 0 / 1.446 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008237/2.655, allocations: 151.8 kB / 1.446 GB, free: 152.6 MB / 0.8698 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 () * 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.001295/2.656, allocations: 1.24 MB / 1.447 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003884/2.657, allocations: 134 kB / 1.447 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.657, allocations: 4 kB / 1.447 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/2.657, allocations: 55.92 kB / 1.447 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/2.658, allocations: 133.3 kB / 1.447 GB, free: 151 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/2.659, allocations: 459.9 kB / 1.448 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/2.659, allocations: 0.8074 MB / 1.448 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000607/2.66, allocations: 87.69 kB / 1.449 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/2.66, allocations: 111.4 kB / 1.449 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-06/2.66, allocations: 0 / 1.449 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04647/2.707, allocations: 8.867 MB / 1.457 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/2.707, allocations: 181.4 kB / 1.457 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/5.502, allocations: 0 / 1.457 GB, free: 140.5 MB / 0.8698 GB