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.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001439/0.001439, allocations: 185 kB / 377.1 MB, free: 1.531 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.874/1.874, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.0009848/0.0009849, allocations: 93.56 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004133, allocations: 11.98 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.534, allocations: 2.063 GB / 3.052 GB, free: 119 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/5.534, allocations: 87.45 kB / 3.052 GB, free: 119 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/6.587, allocations: 220.3 MB / 3.267 GB, free: 231.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.356e-06/6.587, allocations: 1.562 kB / 3.267 GB, free: 231.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.02e-05/6.588, allocations: 8.25 kB / 3.267 GB, free: 231.2 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.001483/6.589, allocations: 0.6091 MB / 3.267 GB, free: 230.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/6.589, allocations: 9.25 kB / 3.267 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.929e-05/6.589, allocations: 47.45 kB / 3.267 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/6.59, allocations: 55.95 kB / 3.267 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/6.59, allocations: 303.5 kB / 3.268 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/6.59, allocations: 11.59 kB / 3.268 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/6.59, allocations: 22.06 kB / 3.268 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/6.591, allocations: 193.5 kB / 3.268 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/6.591, allocations: 0 / 3.268 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/6.591, allocations: 6 kB / 3.268 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/6.591, allocations: 4 kB / 3.268 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/6.591, allocations: 123.8 kB / 3.268 GB, free: 230.2 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0013/6.593, allocations: 0.7933 MB / 3.269 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/6.593, allocations: 82.98 kB / 3.269 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/6.593, allocations: 191.4 kB / 3.269 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/6.593, allocations: 32.75 kB / 3.269 GB, free: 229.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/6.593, allocations: 4 kB / 3.269 GB, free: 229.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0007474/6.594, allocations: 222.5 kB / 3.269 GB, free: 229.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/6.594, allocations: 56.56 kB / 3.269 GB, free: 229.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/6.594, allocations: 236.2 kB / 3.27 GB, free: 229 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/6.594, allocations: 35.67 kB / 3.27 GB, free: 229 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/6.594, allocations: 149.8 kB / 3.27 GB, free: 228.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/6.595, allocations: 28 kB / 3.27 GB, free: 228.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-06/6.595, allocations: 4 kB / 3.27 GB, free: 228.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/6.595, allocations: 330.8 kB / 3.27 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/6.595, allocations: 47.97 kB / 3.27 GB, free: 228.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/6.595, allocations: 103.4 kB / 3.27 GB, free: 228.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/6.595, allocations: 60.09 kB / 3.27 GB, free: 228.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/6.595, allocations: 0 / 3.27 GB, free: 228.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000426/6.596, allocations: 165.8 kB / 3.271 GB, free: 228.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/6.596, allocations: 358.3 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/6.596, allocations: 5.188 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/6.596, allocations: 2.688 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/6.596, allocations: 29.42 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/6.596, allocations: 2.25 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/6.596, allocations: 28.31 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/6.596, allocations: 10.11 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/6.596, allocations: 7.469 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003153/6.597, allocations: 114.1 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/6.597, allocations: 5.344 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/6.597, allocations: 1.438 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/6.597, allocations: 34.52 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/6.597, allocations: 1.188 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/6.597, allocations: 25.17 kB / 3.271 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/6.597, allocations: 5.703 kB / 3.271 GB, free: 227.9 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 () * Number of clocked 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 0.0001968/6.597, allocations: 215.3 kB / 3.271 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/6.597, allocations: 30.95 kB / 3.271 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/6.598, allocations: 171.8 kB / 3.272 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/6.598, allocations: 0.9688 kB / 3.272 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/6.598, allocations: 1.281 kB / 3.272 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/6.598, allocations: 0 / 3.272 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/6.599, allocations: 0.5969 MB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/6.599, allocations: 2.031 kB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/6.599, allocations: 23.27 kB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/6.599, allocations: 3.094 kB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/6.599, allocations: 6.375 kB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/6.599, allocations: 6.188 kB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.599, allocations: 5.688 kB / 3.272 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/6.6, allocations: 390.2 kB / 3.273 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/6.6, allocations: 115.9 kB / 3.273 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/6.6, allocations: 7.062 kB / 3.273 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/6.6, allocations: 19.38 kB / 3.273 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/6.6, allocations: 17.14 kB / 3.273 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/6.6, allocations: 4.75 kB / 3.273 GB, free: 226.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002386/6.6, allocations: 194.2 kB / 3.273 GB, free: 226.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.6, allocations: 0 / 3.273 GB, free: 226.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009658/6.601, allocations: 176.8 kB / 3.273 GB, free: 226.4 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 () * Number of clocked 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.002664/6.604, allocations: 2.193 MB / 3.275 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006215/6.605, allocations: 170.4 kB / 3.275 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/6.605, allocations: 1.094 kB / 3.275 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/6.605, allocations: 71.44 kB / 3.275 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/6.606, allocations: 126.8 kB / 3.276 GB, free: 224.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/6.609, allocations: 1.77 MB / 3.277 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/6.61, allocations: 0.7628 MB / 3.278 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003584/6.61, allocations: 70.64 kB / 3.278 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/6.61, allocations: 72.39 kB / 3.278 GB, free: 222.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/6.61, allocations: 1.031 kB / 3.278 GB, free: 222.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/6.671, allocations: 20.25 MB / 3.298 GB, free: 221.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/6.671, allocations: 214.8 kB / 3.298 GB, free: 220.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/9.135, allocations: 0 / 3.298 GB, free: 220.9 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)