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.809/1.809, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001135/0.001135, allocations: 177 kB / 371.8 MB, free: 10.3 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.923/1.923, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.000955, allocations: 97.08 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 11.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2649, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.455/5.72, allocations: 2.062 GB / 3.042 GB, free: 209.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/5.72, allocations: 90.88 kB / 3.042 GB, free: 209.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9868/6.707, allocations: 220.3 MB / 3.257 GB, free: 286.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.476e-06/6.707, allocations: 0 / 3.257 GB, free: 286.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.882e-05/6.707, allocations: 8.953 kB / 3.257 GB, free: 286.5 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.001245/6.708, allocations: 0.6125 MB / 3.257 GB, free: 286.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/6.708, allocations: 10.08 kB / 3.257 GB, free: 286.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/6.708, allocations: 45.25 kB / 3.258 GB, free: 286.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/6.709, allocations: 53.66 kB / 3.258 GB, free: 286.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/6.709, allocations: 307.9 kB / 3.258 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/6.709, allocations: 23.38 kB / 3.258 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/6.709, allocations: 15.56 kB / 3.258 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/6.71, allocations: 185 kB / 3.258 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/6.71, allocations: 0.8125 kB / 3.258 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/6.71, allocations: 8.734 kB / 3.258 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/6.71, allocations: 3.531 kB / 3.258 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/6.71, allocations: 125.1 kB / 3.258 GB, free: 285.8 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.001249/6.712, allocations: 0.7901 MB / 3.259 GB, free: 285.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/6.712, allocations: 84.64 kB / 3.259 GB, free: 285.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/6.712, allocations: 184.6 kB / 3.259 GB, free: 285.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/6.712, allocations: 32.89 kB / 3.259 GB, free: 285.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/6.712, allocations: 0 / 3.259 GB, free: 285.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0008341/6.713, allocations: 228.5 kB / 3.26 GB, free: 285 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/6.713, allocations: 52.09 kB / 3.26 GB, free: 284.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/6.714, allocations: 238.3 kB / 3.26 GB, free: 284.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/6.714, allocations: 31.36 kB / 3.26 GB, free: 284.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/6.714, allocations: 149.7 kB / 3.26 GB, free: 284.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/6.714, allocations: 33.78 kB / 3.26 GB, free: 284.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/6.714, allocations: 3.156 kB / 3.26 GB, free: 284.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001134/6.714, allocations: 336.4 kB / 3.26 GB, free: 284.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/6.714, allocations: 43.72 kB / 3.26 GB, free: 284.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/6.714, allocations: 104.6 kB / 3.26 GB, free: 284.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/6.715, allocations: 65.2 kB / 3.261 GB, free: 284.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/6.715, allocations: 1.797 kB / 3.261 GB, free: 284.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004031/6.715, allocations: 158 kB / 3.261 GB, free: 284.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/6.715, allocations: 365.8 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/6.715, allocations: 4.625 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/6.715, allocations: 0.8438 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/6.715, allocations: 25.92 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/6.715, allocations: 2.469 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/6.716, allocations: 28.45 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/6.716, allocations: 9.844 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/6.716, allocations: 4.281 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003214/6.716, allocations: 110.8 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/6.716, allocations: 8.922 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/6.716, allocations: 1.844 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/6.716, allocations: 25.55 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/6.716, allocations: 4.547 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/6.716, allocations: 30.25 kB / 3.261 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/6.716, allocations: 12.34 kB / 3.261 GB, free: 283.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.0001531/6.716, allocations: 212.6 kB / 3.261 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/6.717, allocations: 22.81 kB / 3.261 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/6.717, allocations: 170.5 kB / 3.262 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/6.717, allocations: 1.656 kB / 3.262 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/6.717, allocations: 3.812 kB / 3.262 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/6.717, allocations: 5.312 kB / 3.262 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/6.718, allocations: 0.5867 MB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/6.718, allocations: 5.328 kB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/6.718, allocations: 30.55 kB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/6.718, allocations: 6.391 kB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/6.718, allocations: 5.922 kB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/6.718, allocations: 2.406 kB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/6.718, allocations: 3.359 kB / 3.262 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/6.719, allocations: 393.3 kB / 3.263 GB, free: 283 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/6.719, allocations: 113.3 kB / 3.263 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/6.719, allocations: 7.016 kB / 3.263 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/6.719, allocations: 24.84 kB / 3.263 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/6.719, allocations: 11.3 kB / 3.263 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/6.72, allocations: 4.594 kB / 3.263 GB, free: 282.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002372/6.72, allocations: 193.9 kB / 3.263 GB, free: 282.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.72, allocations: 0 / 3.263 GB, free: 282.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001158/6.721, allocations: 176.1 kB / 3.263 GB, free: 282.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 () * 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.002656/6.724, allocations: 2.195 MB / 3.265 GB, free: 281.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006142/6.724, allocations: 176.3 kB / 3.265 GB, free: 281.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/6.724, allocations: 0.9062 kB / 3.265 GB, free: 281.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/6.724, allocations: 67.72 kB / 3.266 GB, free: 281.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/6.725, allocations: 135.2 kB / 3.266 GB, free: 281.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/6.728, allocations: 1.768 MB / 3.267 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/6.728, allocations: 0.7642 MB / 3.268 GB, free: 279.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003116/6.729, allocations: 65.91 kB / 3.268 GB, free: 279.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/6.729, allocations: 68.56 kB / 3.268 GB, free: 279.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/6.729, allocations: 3.062 kB / 3.268 GB, free: 279.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/6.794, allocations: 20.26 MB / 3.288 GB, free: 279.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/6.794, allocations: 233 kB / 3.288 GB, free: 279.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/9.174, allocations: 3.75 kB / 3.288 GB, free: 279.1 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)