Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.688/1.688, 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.001075/0.001075, allocations: 188.8 kB / 366.7 MB, free: 1.672 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.716/1.716, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009299/0.0009299, allocations: 88.73 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.22e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7412, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.837/5.579, allocations: 2.062 GB / 3.036 GB, free: 27.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/5.579, allocations: 83.52 kB / 3.036 GB, free: 27.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.96/6.539, allocations: 217.3 MB / 3.248 GB, free: 198 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/6.539, allocations: 0 / 3.248 GB, free: 198 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.576e-05/6.539, allocations: 12 kB / 3.248 GB, free: 198 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.0008267/6.54, allocations: 0.5601 MB / 3.249 GB, free: 197.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/6.54, allocations: 12.03 kB / 3.249 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/6.54, allocations: 51.59 kB / 3.249 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/6.541, allocations: 301.5 kB / 3.249 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/6.541, allocations: 11.95 kB / 3.249 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/6.541, allocations: 8 kB / 3.249 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001604/6.541, allocations: 91.97 kB / 3.249 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/6.541, allocations: 156.9 kB / 3.249 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/6.541, allocations: 0 / 3.249 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/6.541, allocations: 3.938 kB / 3.249 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/6.541, allocations: 7.984 kB / 3.249 GB, free: 196.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.0008068/6.542, allocations: 0.7464 MB / 3.25 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/6.542, allocations: 66.52 kB / 3.25 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/6.542, allocations: 48.91 kB / 3.25 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/6.542, allocations: 190.2 kB / 3.25 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/6.543, allocations: 34.56 kB / 3.25 GB, free: 195.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/6.543, allocations: 0 / 3.25 GB, free: 195.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004008/6.543, allocations: 137.6 kB / 3.25 GB, free: 195.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/6.543, allocations: 51.41 kB / 3.25 GB, free: 195.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/6.543, allocations: 188.5 kB / 3.251 GB, free: 195.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/6.543, allocations: 25.7 kB / 3.251 GB, free: 195.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/6.543, allocations: 152.2 kB / 3.251 GB, free: 194.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/6.543, allocations: 35.48 kB / 3.251 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/6.543, allocations: 0 / 3.251 GB, free: 194.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.949e-05/6.543, allocations: 330.8 kB / 3.251 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/6.543, allocations: 24 kB / 3.251 GB, free: 194.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/6.543, allocations: 86.78 kB / 3.251 GB, free: 194.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/6.543, allocations: 35.98 kB / 3.251 GB, free: 194.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/6.543, allocations: 3.984 kB / 3.251 GB, free: 194.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00015/6.544, allocations: 121.5 kB / 3.251 GB, free: 194.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/6.544, allocations: 360 kB / 3.252 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/6.544, allocations: 0 / 3.252 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/6.544, allocations: 0 / 3.252 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/6.544, allocations: 35.88 kB / 3.252 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/6.544, allocations: 0 / 3.252 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/6.544, allocations: 27.88 kB / 3.252 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/6.544, allocations: 8 kB / 3.252 GB, free: 193.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/6.544, allocations: 4 kB / 3.252 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000101/6.544, allocations: 67.89 kB / 3.252 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/6.544, allocations: 288 / 3.252 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-06/6.544, allocations: 4 kB / 3.252 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/6.544, allocations: 23.92 kB / 3.252 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/6.544, allocations: 16.03 kB / 3.252 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/6.545, allocations: 15.98 kB / 3.252 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/6.545, allocations: 7.984 kB / 3.252 GB, free: 193.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 5.884e-05/6.545, allocations: 108.9 kB / 3.252 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001361/6.545, allocations: 113.3 kB / 3.252 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/6.545, allocations: 19.81 kB / 3.252 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/6.545, allocations: 131.4 kB / 3.252 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/6.545, allocations: 0 / 3.252 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/6.545, allocations: 0 / 3.252 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/6.545, allocations: 0 / 3.252 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/6.546, allocations: 0.52 MB / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/6.546, allocations: 0 / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/6.546, allocations: 23.98 kB / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/6.546, allocations: 4 kB / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/6.546, allocations: 4 kB / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/6.546, allocations: 7.953 kB / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/6.546, allocations: 8.156 kB / 3.253 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/6.546, allocations: 337.2 kB / 3.253 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/6.546, allocations: 112.8 kB / 3.253 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/6.546, allocations: 3.953 kB / 3.253 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/6.546, allocations: 23.97 kB / 3.253 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/6.546, allocations: 4 kB / 3.253 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/6.546, allocations: 8 kB / 3.253 GB, free: 192.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.308e-05/6.546, allocations: 152.5 kB / 3.253 GB, free: 191.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/6.546, allocations: 4.281 kB / 3.253 GB, free: 191.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006165/6.547, allocations: 155.7 kB / 3.254 GB, free: 191.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.001663/6.549, allocations: 2.272 MB / 3.256 GB, free: 189.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002164/6.549, allocations: 121.1 kB / 3.256 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/6.549, allocations: 4 kB / 3.256 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/6.549, allocations: 39.92 kB / 3.256 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/6.55, allocations: 103.3 kB / 3.256 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/6.55, allocations: 371.1 kB / 3.256 GB, free: 188.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/6.55, allocations: 0.76 MB / 3.257 GB, free: 188 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002362/6.551, allocations: 74.62 kB / 3.257 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/6.551, allocations: 71.41 kB / 3.257 GB, free: 187.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/6.551, allocations: 0 / 3.257 GB, free: 187.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/6.581, allocations: 12.31 MB / 3.269 GB, free: 175.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/6.581, allocations: 173.3 kB / 3.27 GB, free: 175.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/8.761, allocations: 0 / 3.27 GB, free: 175.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)