Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.531/2.531, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.001571/0.001571, allocations: 172.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001074/0.001073, allocations: 97.06 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.38e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.815, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/2.059, allocations: 400.9 MB / 1.355 GB, free: 167 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/2.059, allocations: 90.77 kB / 1.355 GB, free: 167 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5361/2.595, allocations: 166.3 MB / 1.517 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.753e-06/2.595, allocations: 0 / 1.517 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.506e-05/2.596, allocations: 8 kB / 1.517 GB, free: 14.2 MB / 0.8542 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.001171/2.597, allocations: 0.6693 MB / 1.518 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/2.597, allocations: 8.031 kB / 1.518 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/2.597, allocations: 43.53 kB / 1.518 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04387/2.641, allocations: 13.63 MB / 1.531 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/2.641, allocations: 7.953 kB / 1.531 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/2.641, allocations: 12 kB / 1.531 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003243/2.641, allocations: 92.64 kB / 1.532 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/2.642, allocations: 135.9 kB / 1.532 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/2.642, allocations: 0 / 1.532 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/2.642, allocations: 3.938 kB / 1.532 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/2.642, allocations: 8 kB / 1.532 GB, free: 15.35 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.001491/2.643, allocations: 0.7835 MB / 1.532 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/2.644, allocations: 98.61 kB / 1.533 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/2.644, allocations: 52.84 kB / 1.533 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/2.644, allocations: 336.4 kB / 1.533 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/2.644, allocations: 34.56 kB / 1.533 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.043e-06/2.644, allocations: 0 / 1.533 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0005102/2.645, allocations: 145.3 kB / 1.533 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/2.645, allocations: 51.41 kB / 1.533 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/2.645, allocations: 250.4 kB / 1.533 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/2.645, allocations: 25.7 kB / 1.533 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/2.645, allocations: 188.2 kB / 1.534 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/2.645, allocations: 39.39 kB / 1.534 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/2.645, allocations: 0 / 1.534 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001441/2.646, allocations: 342.8 kB / 1.534 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/2.646, allocations: 35.92 kB / 1.534 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/2.646, allocations: 78.86 kB / 1.534 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/2.646, allocations: 39.97 kB / 1.534 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/2.646, allocations: 0 / 1.534 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004178/2.646, allocations: 145.2 kB / 1.534 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/2.647, allocations: 185.9 kB / 1.534 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/2.647, allocations: 0 / 1.534 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/2.647, allocations: 4 kB / 1.534 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/2.647, allocations: 23.98 kB / 1.534 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/2.647, allocations: 3.953 kB / 1.534 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/2.647, allocations: 31.88 kB / 1.534 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/2.647, allocations: 4.188 kB / 1.534 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/2.647, allocations: 9.969 kB / 1.534 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003335/2.648, allocations: 79.83 kB / 1.535 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/2.648, allocations: 0 / 1.535 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/2.648, allocations: 0 / 1.535 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/2.648, allocations: 35.98 kB / 1.535 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/2.648, allocations: 7.922 kB / 1.535 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/2.648, allocations: 23.92 kB / 1.535 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/2.648, allocations: 4 kB / 1.535 GB, free: 12.07 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 0.0001244/2.648, allocations: 122.6 kB / 1.535 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003938/2.649, allocations: 133.6 kB / 1.535 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/2.649, allocations: 35.53 kB / 1.535 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/2.649, allocations: 185.7 kB / 1.535 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/2.65, allocations: 0 / 1.535 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/2.65, allocations: 0 / 1.535 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/2.65, allocations: 3.984 kB / 1.535 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/2.651, allocations: 0.529 MB / 1.536 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/2.651, allocations: 0 / 1.536 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/2.651, allocations: 35.91 kB / 1.536 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/2.651, allocations: 0 / 1.536 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/2.651, allocations: 4 kB / 1.536 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/2.651, allocations: 0 / 1.536 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/2.651, allocations: 4 kB / 1.536 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/2.651, allocations: 310.4 kB / 1.536 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/2.652, allocations: 136.6 kB / 1.536 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/2.652, allocations: 3.938 kB / 1.536 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/2.652, allocations: 19.98 kB / 1.536 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/2.652, allocations: 11.98 kB / 1.536 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/2.652, allocations: 7.984 kB / 1.536 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002838/2.653, allocations: 196.6 kB / 1.536 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/2.653, allocations: 4 kB / 1.536 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008469/2.653, allocations: 163.7 kB / 1.536 GB, free: 10.06 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.001469/2.655, allocations: 1.231 MB / 1.538 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004102/2.655, allocations: 145.9 kB / 1.538 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/2.655, allocations: 4 kB / 1.538 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/2.655, allocations: 55.86 kB / 1.538 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/2.657, allocations: 129.5 kB / 1.538 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/2.658, allocations: 455.9 kB / 1.538 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/2.658, allocations: 0.8044 MB / 1.539 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005818/2.659, allocations: 87.11 kB / 1.539 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/2.659, allocations: 111.4 kB / 1.539 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of SimCode: time 9.01e-07/2.659, allocations: 0 / 1.539 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0532/2.712, allocations: 8.856 MB / 1.548 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/2.713, allocations: 193.6 kB / 1.548 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/5.582, allocations: 0 / 1.548 GB, free: 13.98 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)