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.722/1.722, allocations: 288.4 MB / 303.3 MB, free: 8.238 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.001178/0.001178, allocations: 183 kB / 372 MB, free: 10.26 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.615/1.615, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008716/0.0008716, allocations: 105.3 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 10.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03333/0.2729, allocations: 41.2 MB / 1.02 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.2921, allocations: 12.15 MB / 1.032 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.2951, allocations: 35.75 kB / 1.032 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.2978, allocations: 413.3 kB / 1.032 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007507/0.3053, allocations: 1.544 MB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.31, allocations: 0.9421 MB / 1.035 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006944/0.317, allocations: 3.658 MB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.3191, allocations: 0.7501 MB / 1.039 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.3225, allocations: 1.069 MB / 1.04 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.3247, allocations: 0.844 MB / 1.041 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.3251, allocations: 48 kB / 1.041 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.3292, allocations: 1.123 MB / 1.042 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.3297, allocations: 211 kB / 1.042 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008003/0.3305, allocations: 269.1 kB / 1.042 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.3342, allocations: 1.742 MB / 1.044 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3343, allocations: 3.938 kB / 1.044 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3343, allocations: 4 kB / 1.044 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.515e-05/0.3344, allocations: 4 kB / 1.044 GB, free: 9.391 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.004854/0.3392, allocations: 1.456 MB / 1.045 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3393, allocations: 8.031 kB / 1.046 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003641/0.3397, allocations: 110.5 kB / 1.046 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.3404, allocations: 134.5 kB / 1.046 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/0.3442, allocations: 1.171 MB / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.3443, allocations: 54 kB / 1.047 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.3445, allocations: 68 kB / 1.047 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.3468, allocations: 0.7637 MB / 1.048 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.3468, allocations: 0 / 1.048 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.347, allocations: 32 kB / 1.048 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.347, allocations: 16 kB / 1.048 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.3488, allocations: 0.5712 MB / 1.048 GB, free: 4.883 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.00822/0.357, allocations: 4.01 MB / 1.052 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.3584, allocations: 482.5 kB / 1.053 GB, free: 76 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.3591, allocations: 225 kB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/0.3608, allocations: 1.519 MB / 1.054 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3608, allocations: 38.52 kB / 1.054 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 4.999e-06/0.3609, allocations: 4 kB / 1.054 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.002148/0.363, allocations: 0.6749 MB / 1.055 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.3631, allocations: 63.41 kB / 1.055 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.3656, allocations: 0.9982 MB / 1.056 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.3657, allocations: 29.7 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/0.3663, allocations: 480.6 kB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3666, allocations: 169.6 kB / 1.057 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3666, allocations: 8 kB / 1.057 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3668, allocations: 326 kB / 1.057 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.3674, allocations: 189 kB / 1.057 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.3681, allocations: 324.5 kB / 1.058 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.3687, allocations: 232.8 kB / 1.058 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.3688, allocations: 4 kB / 1.058 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001782/0.3706, allocations: 0.6511 MB / 1.058 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.3708, allocations: 195 kB / 1.059 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.3708, allocations: 4 kB / 1.059 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.3708, allocations: 8 kB / 1.059 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.3715, allocations: 131.8 kB / 1.059 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.3716, allocations: 4 kB / 1.059 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3728, allocations: 103.2 kB / 1.059 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.373, allocations: 35.92 kB / 1.059 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.373, allocations: 4 kB / 1.059 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/0.3744, allocations: 0.5293 MB / 1.059 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3744, allocations: 4 kB / 1.059 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3745, allocations: 11.98 kB / 1.059 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.3751, allocations: 124.2 kB / 1.06 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.3751, allocations: 11.94 kB / 1.06 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.3762, allocations: 91.28 kB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.3764, allocations: 35.98 kB / 1.06 GB, free: 8.398 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.0007522/0.3771, allocations: 336.9 kB / 1.06 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.3775, allocations: 106.7 kB / 1.06 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.38, allocations: 0.9798 MB / 1.061 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.3801, allocations: 11.98 kB / 1.061 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3801, allocations: 4 kB / 1.061 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.3812, allocations: 0.8453 MB / 1.062 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.3849, allocations: 2.027 MB / 1.064 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.3849, allocations: 4 kB / 1.064 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.3853, allocations: 103.8 kB / 1.064 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.3854, allocations: 4 kB / 1.064 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.3854, allocations: 20.22 kB / 1.064 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3854, allocations: 7.984 kB / 1.064 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3854, allocations: 4 kB / 1.064 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.3874, allocations: 1.206 MB / 1.065 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006407/0.3881, allocations: 311.4 kB / 1.066 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.3883, allocations: 23.88 kB / 1.066 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007271/0.389, allocations: 47.91 kB / 1.066 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3892, allocations: 56.42 kB / 1.066 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.3892, allocations: 23.98 kB / 1.066 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00125/0.3905, allocations: 0.7148 MB / 1.066 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3905, allocations: 0 / 1.066 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002041/0.3926, allocations: 0.6007 MB / 1.067 GB, free: 0.7227 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.5142/0.9068, allocations: 2.148 MB / 1.069 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00291/0.9098, allocations: 0.939 MB / 1.07 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.9098, allocations: 1.375 kB / 1.07 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.9108, allocations: 403.4 kB / 1.07 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/0.9154, allocations: 0.5747 MB / 1.071 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.9301, allocations: 6.478 MB / 1.077 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.931, allocations: 1.059 MB / 1.078 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00163/0.9326, allocations: 291.5 kB / 1.079 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.9332, allocations: 441.4 kB / 1.079 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.9332, allocations: 0 / 1.079 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08334/1.017, allocations: 35.46 MB / 1.114 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.017, allocations: 236.7 kB / 1.114 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/4.273, allocations: 3.938 kB / 1.114 GB, free: 70.16 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)