Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 176.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007918/0.0007918, allocations: 94.47 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.835e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2199, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.188/5.408, allocations: 2.181 GB / 3.066 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/5.408, allocations: 83.95 kB / 3.066 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3804/5.789, allocations: 210.5 MB / 3.272 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/5.789, allocations: 0 / 3.272 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.406e-05/5.789, allocations: 7.938 kB / 3.272 GB, free: 9.707 MB / 0.8698 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.0008227/5.79, allocations: 0.5641 MB / 3.272 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/5.79, allocations: 8.031 kB / 3.272 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/5.79, allocations: 63.53 kB / 3.272 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/5.791, allocations: 305.5 kB / 3.272 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/5.791, allocations: 4 kB / 3.272 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/5.791, allocations: 12 kB / 3.272 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/5.791, allocations: 83.97 kB / 3.273 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/5.791, allocations: 160.7 kB / 3.273 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/5.791, allocations: 3.984 kB / 3.273 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/5.791, allocations: 0 / 3.273 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/5.791, allocations: 7.953 kB / 3.273 GB, free: 8.406 MB / 0.8698 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.0007867/5.792, allocations: 0.7309 MB / 3.273 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/5.792, allocations: 62.56 kB / 3.274 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/5.792, allocations: 56.89 kB / 3.274 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/5.792, allocations: 186.2 kB / 3.274 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/5.792, allocations: 34.56 kB / 3.274 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.053e-06/5.792, allocations: 0 / 3.274 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003866/5.793, allocations: 141.5 kB / 3.274 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/5.793, allocations: 59.39 kB / 3.274 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/5.793, allocations: 180.5 kB / 3.274 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/5.793, allocations: 37.62 kB / 3.274 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/5.793, allocations: 148.2 kB / 3.274 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/5.793, allocations: 31.5 kB / 3.274 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/5.793, allocations: 0 / 3.274 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/5.793, allocations: 330.8 kB / 3.275 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/5.793, allocations: 31.98 kB / 3.275 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/5.793, allocations: 86.83 kB / 3.275 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.144e-05/5.793, allocations: 36.25 kB / 3.275 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/5.793, allocations: 0 / 3.275 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/5.793, allocations: 121.4 kB / 3.275 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/5.794, allocations: 363.9 kB / 3.275 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/5.794, allocations: 8.031 kB / 3.275 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/5.794, allocations: 4 kB / 3.275 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/5.794, allocations: 31.91 kB / 3.275 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/5.794, allocations: 4.062 kB / 3.275 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/5.794, allocations: 19.89 kB / 3.275 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/5.794, allocations: 4 kB / 3.275 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/5.794, allocations: 9.875 kB / 3.275 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.969e-05/5.794, allocations: 71.89 kB / 3.275 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-06/5.794, allocations: 0 / 3.275 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/5.794, allocations: 0 / 3.275 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/5.794, allocations: 31.88 kB / 3.275 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-06/5.794, allocations: 0 / 3.275 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/5.794, allocations: 24 kB / 3.275 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/5.794, allocations: 12 kB / 3.275 GB, free: 5.371 MB / 0.8698 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.605e-05/5.794, allocations: 107 kB / 3.276 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001331/5.795, allocations: 113.3 kB / 3.276 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/5.795, allocations: 23.77 kB / 3.276 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/5.795, allocations: 119.4 kB / 3.276 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/5.795, allocations: 0 / 3.276 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/5.795, allocations: 4 kB / 3.276 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/5.795, allocations: 0 / 3.276 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/5.795, allocations: 0.5084 MB / 3.276 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/5.795, allocations: 4.219 kB / 3.276 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/5.795, allocations: 31.98 kB / 3.276 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/5.795, allocations: 7.922 kB / 3.276 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/5.795, allocations: 4 kB / 3.276 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/5.795, allocations: 4 kB / 3.276 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.795, allocations: 0 / 3.276 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/5.796, allocations: 345.3 kB / 3.277 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/5.796, allocations: 108.8 kB / 3.277 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/5.796, allocations: 4 kB / 3.277 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/5.796, allocations: 19.97 kB / 3.277 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/5.796, allocations: 15.94 kB / 3.277 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/5.796, allocations: 12 kB / 3.277 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.635e-05/5.796, allocations: 148.5 kB / 3.277 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.796, allocations: 0 / 3.277 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005693/5.797, allocations: 159.7 kB / 3.277 GB, free: 3.48 MB / 0.8698 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.00139/5.798, allocations: 2.277 MB / 3.279 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002079/5.798, allocations: 117.1 kB / 3.279 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/5.798, allocations: 4.125 kB / 3.279 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/5.798, allocations: 47.92 kB / 3.28 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/5.799, allocations: 96.88 kB / 3.28 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/5.8, allocations: 378.2 kB / 3.28 GB, free: 464 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4337/6.233, allocations: 0.7529 MB / 3.281 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004105/6.234, allocations: 70.81 kB / 3.281 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/6.234, allocations: 73.22 kB / 3.281 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.223e-06/6.234, allocations: 0.9062 kB / 3.281 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/6.274, allocations: 12.3 MB / 3.293 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/6.274, allocations: 185.8 kB / 3.293 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/8.191, allocations: 2.844 kB / 3.293 GB, free: 251.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)