Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.00123/0.00123, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 82.48 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.089e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2372, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.852, allocations: 394.1 MB / 1.277 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.853, allocations: 86.12 kB / 1.277 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3132/2.166, allocations: 162.9 MB / 1.436 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.334e-06/2.166, allocations: 0 / 1.436 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.041e-05/2.166, allocations: 15.98 kB / 1.436 GB, free: 148.9 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.001048/2.167, allocations: 0.6577 MB / 1.437 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/2.167, allocations: 15.97 kB / 1.437 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.094e-05/2.167, allocations: 46.55 kB / 1.437 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/2.167, allocations: 43.44 kB / 1.437 GB, free: 148 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02608/2.193, allocations: 13.37 MB / 1.45 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/2.193, allocations: 16.33 kB / 1.45 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/2.194, allocations: 16 kB / 1.45 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/2.194, allocations: 156.9 kB / 1.45 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/2.194, allocations: 0 / 1.45 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/2.194, allocations: 16 kB / 1.45 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/2.194, allocations: 4 kB / 1.45 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/2.194, allocations: 104.2 kB / 1.45 GB, free: 134.2 MB / 0.8542 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.00102/2.195, allocations: 0.8295 MB / 1.451 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/2.195, allocations: 94.67 kB / 1.451 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.748e-05/2.195, allocations: 52.84 kB / 1.451 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/2.196, allocations: 340.4 kB / 1.451 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/2.196, allocations: 38.56 kB / 1.451 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/2.196, allocations: 0 / 1.451 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002991/2.196, allocations: 141.3 kB / 1.451 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/2.196, allocations: 51.41 kB / 1.452 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/2.196, allocations: 286.9 kB / 1.452 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/2.196, allocations: 25.7 kB / 1.452 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/2.196, allocations: 200.2 kB / 1.452 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/2.196, allocations: 43.39 kB / 1.452 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/2.196, allocations: 8 kB / 1.452 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/2.197, allocations: 346.7 kB / 1.452 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/2.197, allocations: 24 kB / 1.452 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/2.197, allocations: 86.84 kB / 1.453 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.13e-05/2.197, allocations: 43.92 kB / 1.453 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/2.197, allocations: 0 / 1.453 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001774/2.197, allocations: 141.2 kB / 1.453 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/2.197, allocations: 178.6 kB / 1.453 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/2.197, allocations: 3.953 kB / 1.453 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/2.197, allocations: 4 kB / 1.453 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/2.197, allocations: 31.98 kB / 1.453 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/2.197, allocations: 3.938 kB / 1.453 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/2.197, allocations: 27.88 kB / 1.453 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/2.197, allocations: 8 kB / 1.453 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/2.197, allocations: 8 kB / 1.453 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001317/2.198, allocations: 79.89 kB / 1.453 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/2.198, allocations: 0 / 1.453 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-06/2.198, allocations: 0 / 1.453 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/2.198, allocations: 27.98 kB / 1.453 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/2.198, allocations: 3.938 kB / 1.453 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/2.198, allocations: 36.11 kB / 1.453 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/2.198, allocations: 7.984 kB / 1.453 GB, free: 130.8 MB / 0.8542 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 6.262e-05/2.198, allocations: 116.9 kB / 1.453 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/2.198, allocations: 35.56 kB / 1.453 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/2.198, allocations: 193.4 kB / 1.453 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/2.198, allocations: 0 / 1.453 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/2.198, allocations: 3.984 kB / 1.453 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/2.198, allocations: 4 kB / 1.453 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/2.199, allocations: 0.5739 MB / 1.454 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/2.199, allocations: 0 / 1.454 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/2.199, allocations: 31.97 kB / 1.454 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/2.199, allocations: 0 / 1.454 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/2.199, allocations: 4.094 kB / 1.454 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/2.199, allocations: 7.938 kB / 1.454 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/2.199, allocations: 4 kB / 1.454 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/2.199, allocations: 319.2 kB / 1.454 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/2.2, allocations: 128.6 kB / 1.454 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/2.2, allocations: 3.984 kB / 1.454 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/2.2, allocations: 23.98 kB / 1.454 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/2.2, allocations: 15.92 kB / 1.455 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/2.2, allocations: 4 kB / 1.455 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002272/2.2, allocations: 237.2 kB / 1.455 GB, free: 129 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/2.2, allocations: 0 / 1.455 GB, free: 129 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005817/2.201, allocations: 163.7 kB / 1.455 GB, free: 128.8 MB / 0.8542 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.0009782/2.202, allocations: 1.245 MB / 1.456 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002614/2.202, allocations: 150.1 kB / 1.456 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.202, allocations: 4 kB / 1.456 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/2.202, allocations: 59.92 kB / 1.456 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/2.203, allocations: 152.5 kB / 1.456 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/2.203, allocations: 483.5 kB / 1.457 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/2.204, allocations: 0.8078 MB / 1.458 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003372/2.204, allocations: 83.19 kB / 1.458 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/2.204, allocations: 107.4 kB / 1.458 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of SimCode: time 3.21e-07/2.204, allocations: 0 / 1.458 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/2.229, allocations: 10.87 MB / 1.469 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/2.229, allocations: 204 kB / 1.469 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/4.584, allocations: 4 kB / 1.469 GB, free: 114.7 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)