Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.745/2.745, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001484/0.001484, allocations: 172.9 kB / 360.6 MB, free: 7.293 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.006/2.006, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001052/0.001052, allocations: 87.59 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.193e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8548, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/6.646, allocations: 2.061 GB / 3.025 GB, free: 57.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/6.646, allocations: 83.77 kB / 3.025 GB, free: 57.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.325/7.971, allocations: 217.3 MB / 3.237 GB, free: 233.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/7.971, allocations: 0 / 3.237 GB, free: 233.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.037e-05/7.971, allocations: 8 kB / 3.237 GB, free: 233.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001017/7.972, allocations: 0.5602 MB / 3.238 GB, free: 232.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/7.972, allocations: 11.97 kB / 3.238 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/7.973, allocations: 56.88 kB / 3.238 GB, free: 232.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/7.974, allocations: 313.8 kB / 3.238 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/7.974, allocations: 8 kB / 3.238 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/7.974, allocations: 12 kB / 3.238 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002496/7.974, allocations: 83.91 kB / 3.238 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/7.974, allocations: 152.7 kB / 3.238 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/7.974, allocations: 0 / 3.238 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/7.974, allocations: 0 / 3.238 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/7.974, allocations: 4 kB / 3.238 GB, free: 231.8 MB / 0.948 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.001232/7.976, allocations: 0.7388 MB / 3.239 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/7.976, allocations: 58.69 kB / 3.239 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/7.976, allocations: 64.81 kB / 3.239 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/7.976, allocations: 182.2 kB / 3.239 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/7.976, allocations: 42.73 kB / 3.239 GB, free: 230.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/7.976, allocations: 3.938 kB / 3.239 GB, free: 230.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006203/7.977, allocations: 133.4 kB / 3.239 GB, free: 230.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/7.977, allocations: 55.41 kB / 3.239 GB, free: 230.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/7.977, allocations: 184.5 kB / 3.24 GB, free: 230.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/7.977, allocations: 29.7 kB / 3.24 GB, free: 230.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/7.977, allocations: 152.2 kB / 3.24 GB, free: 230 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/7.977, allocations: 35.48 kB / 3.24 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/7.977, allocations: 0 / 3.24 GB, free: 229.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/7.977, allocations: 326.8 kB / 3.24 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/7.978, allocations: 31.92 kB / 3.24 GB, free: 229.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/7.978, allocations: 78.86 kB / 3.24 GB, free: 229.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/7.978, allocations: 43.95 kB / 3.24 GB, free: 229.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.978, allocations: 0 / 3.24 GB, free: 229.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002645/7.978, allocations: 117.4 kB / 3.24 GB, free: 229.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/7.978, allocations: 364 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/7.978, allocations: 3.938 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/7.978, allocations: 11.94 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/7.978, allocations: 23.98 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/7.978, allocations: 0 / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/7.979, allocations: 23.89 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/7.979, allocations: 4 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/7.979, allocations: 5.094 kB / 3.241 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001859/7.979, allocations: 71.89 kB / 3.241 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/7.979, allocations: 4 kB / 3.241 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/7.979, allocations: 0 / 3.241 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/7.979, allocations: 27.92 kB / 3.241 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/7.979, allocations: 4.031 kB / 3.241 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/7.98, allocations: 23.97 kB / 3.241 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/7.98, allocations: 8.281 kB / 3.241 GB, free: 228.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.217e-05/7.98, allocations: 114.5 kB / 3.241 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002352/7.98, allocations: 117.3 kB / 3.241 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/7.98, allocations: 15.81 kB / 3.241 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/7.98, allocations: 127.4 kB / 3.241 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/7.98, allocations: 0 / 3.241 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/7.98, allocations: 4 kB / 3.241 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/7.98, allocations: 0 / 3.241 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/7.981, allocations: 0.5123 MB / 3.242 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/7.981, allocations: 4 kB / 3.242 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/7.982, allocations: 31.97 kB / 3.242 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/7.982, allocations: 0 / 3.242 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/7.982, allocations: 8.281 kB / 3.242 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/7.982, allocations: 4 kB / 3.242 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/7.982, allocations: 4.156 kB / 3.242 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/7.982, allocations: 333.3 kB / 3.242 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/7.982, allocations: 116.8 kB / 3.242 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/7.982, allocations: 7.984 kB / 3.242 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/7.982, allocations: 19.98 kB / 3.242 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/7.983, allocations: 11.98 kB / 3.242 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/7.983, allocations: 4 kB / 3.242 GB, free: 227.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001812/7.983, allocations: 148.5 kB / 3.242 GB, free: 227 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/7.983, allocations: 3.938 kB / 3.242 GB, free: 227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008523/7.984, allocations: 159.8 kB / 3.243 GB, free: 226.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.002073/7.986, allocations: 2.284 MB / 3.245 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004045/7.986, allocations: 121.1 kB / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/7.986, allocations: 0 / 3.245 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/7.986, allocations: 43.92 kB / 3.245 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/7.987, allocations: 97.02 kB / 3.245 GB, free: 224.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/7.988, allocations: 371.1 kB / 3.245 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/7.989, allocations: 0.7639 MB / 3.246 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004404/7.989, allocations: 70.66 kB / 3.246 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/7.989, allocations: 63.41 kB / 3.246 GB, free: 222.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.91e-07/7.989, allocations: 0 / 3.246 GB, free: 222.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/8.053, allocations: 12.31 MB / 3.258 GB, free: 210.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/8.053, allocations: 176.2 kB / 3.258 GB, free: 210.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/11.13, allocations: 0 / 3.258 GB, free: 210.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)