Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.468/1.468, allocations: 288.4 MB / 303.6 MB, free: 8.117 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.0008735/0.0008733, allocations: 191.8 kB / 372.3 MB, free: 10.13 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.235/1.235, allocations: 205.4 MB / 0.631 GB, free: 9.801 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.0007475/0.0007475, allocations: 90.34 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 13.03 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03471/0.2393, allocations: 41.21 MB / 1.02 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2559, allocations: 12.15 MB / 1.032 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.2578, allocations: 35.75 kB / 1.032 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.2593, allocations: 413.3 kB / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005649/0.265, allocations: 1.638 MB / 1.034 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.2687, allocations: 0.9774 MB / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005284/0.274, allocations: 3.675 MB / 1.039 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.2758, allocations: 0.8424 MB / 1.04 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.2786, allocations: 1.12 MB / 1.041 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.2804, allocations: 0.8517 MB / 1.042 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.2809, allocations: 48 kB / 1.042 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004756/0.2856, allocations: 1.349 MB / 1.043 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005963/0.2862, allocations: 207 kB / 1.043 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.2881, allocations: 0.6005 MB / 1.044 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.2913, allocations: 1.816 MB / 1.046 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.2913, allocations: 4 kB / 1.046 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2913, allocations: 3.938 kB / 1.046 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.677e-05/0.2914, allocations: 0 / 1.046 GB, free: 8.145 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00346/0.2948, allocations: 1.449 MB / 1.047 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2949, allocations: 12.03 kB / 1.047 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002666/0.2952, allocations: 114.7 kB / 1.047 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.2956, allocations: 135.2 kB / 1.047 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.2984, allocations: 1.19 MB / 1.048 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.2985, allocations: 54 kB / 1.048 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.2986, allocations: 83.84 kB / 1.048 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3001, allocations: 0.7521 MB / 1.049 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.3001, allocations: 4 kB / 1.049 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.3002, allocations: 24 kB / 1.049 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.3003, allocations: 23.98 kB / 1.049 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3014, allocations: 0.575 MB / 1.05 GB, free: 3.605 MB / 0.6667 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.00522/0.3067, allocations: 4.014 MB / 1.054 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.3076, allocations: 470.9 kB / 1.054 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.308, allocations: 229 kB / 1.054 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.3093, allocations: 1.519 MB / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.3094, allocations: 42.5 kB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.385e-06/0.3094, allocations: 0 / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001319/0.3107, allocations: 0.6786 MB / 1.057 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3107, allocations: 59.41 kB / 1.057 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3121, allocations: 0.9943 MB / 1.058 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.3121, allocations: 33.7 kB / 1.058 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.3125, allocations: 488.6 kB / 1.058 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.3127, allocations: 157.7 kB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.3127, allocations: 16 kB / 1.058 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3128, allocations: 326 kB / 1.059 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3132, allocations: 185 kB / 1.059 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.3137, allocations: 320.5 kB / 1.059 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.3145, allocations: 0.5152 MB / 1.06 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3145, allocations: 3.984 kB / 1.06 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001112/0.3156, allocations: 0.651 MB / 1.06 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3157, allocations: 195.1 kB / 1.06 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3158, allocations: 8 kB / 1.06 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3158, allocations: 4 kB / 1.06 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.3162, allocations: 127.8 kB / 1.061 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3162, allocations: 4 kB / 1.061 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.3169, allocations: 107.2 kB / 1.061 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.317, allocations: 24 kB / 1.061 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.317, allocations: 11.88 kB / 1.061 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000947/0.3179, allocations: 0.5293 MB / 1.061 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.318, allocations: 8.438 kB / 1.061 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.318, allocations: 8 kB / 1.061 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.3184, allocations: 127.8 kB / 1.061 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3184, allocations: 11.88 kB / 1.061 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.319, allocations: 95.23 kB / 1.061 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.319, allocations: 28 kB / 1.061 GB, free: 6.797 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003808/0.3194, allocations: 344.9 kB / 1.062 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3196, allocations: 106.7 kB / 1.062 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.3213, allocations: 0.9798 MB / 1.063 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.3213, allocations: 19.92 kB / 1.063 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3213, allocations: 0 / 1.063 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.3224, allocations: 0.8454 MB / 1.064 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.3253, allocations: 2.016 MB / 1.066 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.3253, allocations: 7.984 kB / 1.066 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.3257, allocations: 104 kB / 1.066 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3257, allocations: 4 kB / 1.066 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.3258, allocations: 19.98 kB / 1.066 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3258, allocations: 4 kB / 1.066 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3258, allocations: 4 kB / 1.066 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.3275, allocations: 1.218 MB / 1.067 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.3279, allocations: 311.4 kB / 1.067 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.3281, allocations: 12 kB / 1.067 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.3286, allocations: 59.73 kB / 1.067 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3287, allocations: 52.44 kB / 1.067 GB, free: 468 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.3288, allocations: 31.98 kB / 1.067 GB, free: 436 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.4146/0.7434, allocations: 0.7104 MB / 1.068 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.31e-07/0.7434, allocations: 0.5625 kB / 1.068 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002251/0.7457, allocations: 0.6059 MB / 1.069 GB, free: 88.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.003135/0.7488, allocations: 2.156 MB / 1.071 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.7505, allocations: 0.9337 MB / 1.072 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7505, allocations: 1.25 kB / 1.072 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.7511, allocations: 411.6 kB / 1.072 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.7542, allocations: 0.5728 MB / 1.073 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.7665, allocations: 6.475 MB / 1.079 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.7673, allocations: 1.067 MB / 1.08 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001353/0.7686, allocations: 296.9 kB / 1.08 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.7692, allocations: 434.3 kB / 1.081 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.7692, allocations: 0 / 1.081 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06477/0.834, allocations: 36.14 MB / 1.116 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.8342, allocations: 234.4 kB / 1.116 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/4.224, allocations: 4 kB / 1.116 GB, free: 68.84 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)