Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001053/0.001053, allocations: 180.3 kB / 361.4 MB, free: 6.805 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.469/1.469, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.001422/0.001422, allocations: 91.36 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.232e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7255, allocations: 115.3 MB / 0.9644 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.757/5.482, allocations: 2.061 GB / 3.026 GB, free: 52.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/5.483, allocations: 84.73 kB / 3.026 GB, free: 52.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.921/6.404, allocations: 217.3 MB / 3.238 GB, free: 228 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/6.404, allocations: 0 / 3.238 GB, free: 228 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.326e-05/6.404, allocations: 8 kB / 3.238 GB, free: 228 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.00105/6.405, allocations: 0.5601 MB / 3.239 GB, free: 227.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/6.405, allocations: 16.03 kB / 3.239 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/6.405, allocations: 56.7 kB / 3.239 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/6.406, allocations: 306.2 kB / 3.239 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/6.406, allocations: 8 kB / 3.239 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/6.406, allocations: 11.95 kB / 3.239 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001829/6.406, allocations: 83.97 kB / 3.239 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/6.406, allocations: 157 kB / 3.239 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/6.406, allocations: 3.938 kB / 3.239 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/6.406, allocations: 0 / 3.239 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/6.406, allocations: 4 kB / 3.239 GB, free: 226.7 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.0009022/6.407, allocations: 0.731 MB / 3.24 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/6.408, allocations: 66.45 kB / 3.24 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/6.408, allocations: 56.91 kB / 3.24 GB, free: 225.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/6.408, allocations: 190.2 kB / 3.24 GB, free: 225.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/6.408, allocations: 30.56 kB / 3.24 GB, free: 225.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/6.408, allocations: 0 / 3.24 GB, free: 225.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004743/6.408, allocations: 141.5 kB / 3.241 GB, free: 225.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/6.408, allocations: 55.41 kB / 3.241 GB, free: 225.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/6.409, allocations: 188.5 kB / 3.241 GB, free: 225.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/6.409, allocations: 25.7 kB / 3.241 GB, free: 225.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/6.409, allocations: 148.2 kB / 3.241 GB, free: 225 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/6.409, allocations: 31.5 kB / 3.241 GB, free: 224.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/6.409, allocations: 3.938 kB / 3.241 GB, free: 224.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/6.409, allocations: 330.8 kB / 3.241 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/6.409, allocations: 27.98 kB / 3.241 GB, free: 224.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/6.409, allocations: 86.86 kB / 3.241 GB, free: 224.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/6.409, allocations: 40.17 kB / 3.241 GB, free: 224.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/6.409, allocations: 0 / 3.241 GB, free: 224.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/6.409, allocations: 121.4 kB / 3.242 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.88e-05/6.409, allocations: 360.5 kB / 3.242 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/6.409, allocations: 4 kB / 3.242 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/6.409, allocations: 4.031 kB / 3.242 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/6.409, allocations: 23.98 kB / 3.242 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/6.409, allocations: 3.953 kB / 3.242 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/6.41, allocations: 31.81 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/6.41, allocations: 8 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/6.41, allocations: 4 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001131/6.41, allocations: 71.89 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/6.41, allocations: 0 / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/6.41, allocations: 4 kB / 3.242 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/6.41, allocations: 19.98 kB / 3.242 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/6.41, allocations: 4 kB / 3.242 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/6.41, allocations: 23.97 kB / 3.242 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/6.41, allocations: 8.031 kB / 3.242 GB, free: 223.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 6.362e-05/6.41, allocations: 116.8 kB / 3.242 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001405/6.41, allocations: 105.4 kB / 3.242 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/6.41, allocations: 19.81 kB / 3.242 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/6.411, allocations: 119.4 kB / 3.242 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/6.411, allocations: 4 kB / 3.242 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/6.411, allocations: 0 / 3.242 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/6.411, allocations: 0 / 3.242 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/6.411, allocations: 0.5162 MB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/6.411, allocations: 0 / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/6.411, allocations: 36.14 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/6.411, allocations: 4 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/6.411, allocations: 336 / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/6.411, allocations: 7.984 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/6.411, allocations: 11.97 kB / 3.243 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/6.412, allocations: 337.4 kB / 3.243 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/6.412, allocations: 108.8 kB / 3.243 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/6.412, allocations: 7.953 kB / 3.243 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/6.412, allocations: 19.97 kB / 3.243 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/6.412, allocations: 15.94 kB / 3.243 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/6.412, allocations: 7.984 kB / 3.243 GB, free: 222.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.762e-05/6.412, allocations: 148.5 kB / 3.244 GB, free: 222 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.412, allocations: 0 / 3.244 GB, free: 222 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006264/6.413, allocations: 151.8 kB / 3.244 GB, free: 221.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.001754/6.414, allocations: 2.284 MB / 3.246 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002308/6.415, allocations: 113.2 kB / 3.246 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/6.415, allocations: 0 / 3.246 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/6.415, allocations: 55.98 kB / 3.246 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/6.415, allocations: 95.3 kB / 3.246 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/6.416, allocations: 373.2 kB / 3.247 GB, free: 218.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/6.416, allocations: 0.7599 MB / 3.247 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002596/6.417, allocations: 74.64 kB / 3.247 GB, free: 217.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/6.417, allocations: 71.34 kB / 3.247 GB, free: 217.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/6.417, allocations: 4 kB / 3.247 GB, free: 217.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/6.449, allocations: 12.3 MB / 3.26 GB, free: 205.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/6.449, allocations: 184 kB / 3.26 GB, free: 205.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/8.483, allocations: 0 / 3.26 GB, free: 205.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)