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.917/1.917, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001309/0.001309, allocations: 180.1 kB / 366.7 MB, free: 1.688 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.842/1.842, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009026/0.0009023, allocations: 94.36 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.329e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7279, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.782, allocations: 402 MB / 1.366 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.783, allocations: 84.48 kB / 1.366 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3056/2.088, allocations: 166.3 MB / 1.528 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.865e-06/2.088, allocations: 4 kB / 1.528 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.535e-05/2.088, allocations: 8 kB / 1.528 GB, free: 1.191 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.001032/2.089, allocations: 0.6693 MB / 1.529 GB, free: 484 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/2.089, allocations: 11.97 kB / 1.529 GB, free: 472 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/2.089, allocations: 51.53 kB / 1.529 GB, free: 420 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03069/2.12, allocations: 13.63 MB / 1.542 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/2.12, allocations: 8 kB / 1.542 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/2.12, allocations: 15.95 kB / 1.542 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000248/2.121, allocations: 88.64 kB / 1.543 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/2.121, allocations: 131.9 kB / 1.543 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/2.121, allocations: 0 / 1.543 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/2.121, allocations: 0 / 1.543 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/2.121, allocations: 4 kB / 1.543 GB, free: 2.344 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.001118/2.122, allocations: 0.7913 MB / 1.543 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/2.122, allocations: 98.67 kB / 1.544 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/2.122, allocations: 48.84 kB / 1.544 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/2.123, allocations: 340.4 kB / 1.544 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/2.123, allocations: 30.56 kB / 1.544 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/2.123, allocations: 3.938 kB / 1.544 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.000377/2.123, allocations: 145.3 kB / 1.544 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/2.123, allocations: 59.41 kB / 1.544 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/2.123, allocations: 246.4 kB / 1.544 GB, free: 408 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/2.123, allocations: 25.7 kB / 1.544 GB, free: 376 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/2.124, allocations: 188.2 kB / 1.545 GB, free: 184 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/2.124, allocations: 43.39 kB / 1.545 GB, free: 140 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/2.124, allocations: 0 / 1.545 GB, free: 140 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/2.124, allocations: 338.8 kB / 1.545 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/2.124, allocations: 27.98 kB / 1.545 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/2.124, allocations: 78.86 kB / 1.545 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/2.124, allocations: 51.86 kB / 1.545 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/2.124, allocations: 0 / 1.545 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002578/2.124, allocations: 141.2 kB / 1.545 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/2.124, allocations: 186.1 kB / 1.545 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/2.124, allocations: 0 / 1.545 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/2.124, allocations: 0 / 1.545 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/2.125, allocations: 31.98 kB / 1.545 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/2.125, allocations: 7.875 kB / 1.545 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/2.125, allocations: 39.83 kB / 1.545 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/2.125, allocations: 4 kB / 1.546 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/2.125, allocations: 4 kB / 1.546 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001901/2.125, allocations: 75.89 kB / 1.546 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-06/2.125, allocations: 0 / 1.546 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/2.125, allocations: 0 / 1.546 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/2.125, allocations: 31.97 kB / 1.546 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-06/2.125, allocations: 4 kB / 1.546 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/2.125, allocations: 23.92 kB / 1.546 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/2.125, allocations: 8 kB / 1.546 GB, free: 15.05 MB / 0.8855 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.994e-05/2.126, allocations: 115 kB / 1.546 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002691/2.126, allocations: 129.2 kB / 1.546 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/2.126, allocations: 39.53 kB / 1.546 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/2.126, allocations: 174.8 kB / 1.546 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/2.126, allocations: 0 / 1.546 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/2.126, allocations: 3.984 kB / 1.546 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/2.126, allocations: 0 / 1.546 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/2.127, allocations: 0.5389 MB / 1.547 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/2.127, allocations: 3.938 kB / 1.547 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/2.127, allocations: 31.97 kB / 1.547 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/2.127, allocations: 0 / 1.547 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/2.127, allocations: 4 kB / 1.547 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/2.127, allocations: 0 / 1.547 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/2.127, allocations: 7.938 kB / 1.547 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/2.128, allocations: 308.1 kB / 1.547 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/2.128, allocations: 128.5 kB / 1.547 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/2.128, allocations: 3.953 kB / 1.547 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/2.128, allocations: 19.98 kB / 1.547 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/2.128, allocations: 15.98 kB / 1.547 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/2.128, allocations: 7.984 kB / 1.547 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001746/2.128, allocations: 196.6 kB / 1.547 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/2.128, allocations: 0 / 1.547 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005848/2.129, allocations: 155.7 kB / 1.547 GB, free: 13.07 MB / 0.8855 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.001181/2.13, allocations: 1.245 MB / 1.549 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002686/2.13, allocations: 146 kB / 1.549 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/2.13, allocations: 0 / 1.549 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/2.13, allocations: 59.92 kB / 1.549 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/2.131, allocations: 123.5 kB / 1.549 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/2.132, allocations: 465.2 kB / 1.549 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/2.132, allocations: 0.8113 MB / 1.55 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000331/2.133, allocations: 79.19 kB / 1.55 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/2.133, allocations: 111.3 kB / 1.55 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/2.133, allocations: 0 / 1.55 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/2.162, allocations: 8.863 MB / 1.559 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/2.163, allocations: 171.1 kB / 1.559 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/4.406, allocations: 4.031 kB / 1.559 GB, free: 0.9766 MB / 0.8855 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)