Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000938/0.000938, allocations: 166.3 kB / 327 MB, free: 2.113 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.778/1.778, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007941/0.0007941, allocations: 95.92 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8.531 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.0299/0.2302, allocations: 43.53 MB / 0.9434 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.244, allocations: 12.91 MB / 0.956 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.2461, allocations: 35.75 kB / 0.9561 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.2479, allocations: 485.3 kB / 0.9565 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.2529, allocations: 1.818 MB / 0.9583 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.2561, allocations: 1.157 MB / 0.9594 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004859/0.261, allocations: 4.226 MB / 0.9636 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.2624, allocations: 0.8582 MB / 0.9644 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.2649, allocations: 1.155 MB / 0.9655 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.2661, allocations: 0.8983 MB / 0.9664 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2662, allocations: 48 kB / 0.9665 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/0.2698, allocations: 1.427 MB / 0.9678 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.2701, allocations: 207 kB / 0.968 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008043/0.2709, allocations: 0.6197 MB / 0.9687 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.2745, allocations: 2.344 MB / 0.9709 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2745, allocations: 0 / 0.9709 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2746, allocations: 3.938 kB / 0.9709 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.2746, allocations: 4 kB / 0.9709 GB, free: 7.41 MB / 0.6198 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.003177/0.2778, allocations: 1.445 MB / 0.9724 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.2778, allocations: 8.031 kB / 0.9724 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.278, allocations: 114.7 kB / 0.9725 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.2784, allocations: 139.2 kB / 0.9726 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.2808, allocations: 1.198 MB / 0.9738 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.2809, allocations: 50 kB / 0.9738 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.2811, allocations: 72 kB / 0.9739 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2825, allocations: 0.7715 MB / 0.9746 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.2825, allocations: 4 kB / 0.9747 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-05/0.2826, allocations: 24 kB / 0.9747 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.2826, allocations: 20 kB / 0.9747 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2837, allocations: 0.5789 MB / 0.9753 GB, free: 2.863 MB / 0.6198 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.005175/0.2889, allocations: 3.998 MB / 0.9792 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009367/0.2899, allocations: 471 kB / 0.9796 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.2903, allocations: 225.1 kB / 0.9798 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.2915, allocations: 1.523 MB / 0.9813 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2916, allocations: 38.56 kB / 0.9814 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 2.064e-06/0.2916, allocations: 4 kB / 0.9814 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001348/0.2929, allocations: 0.6785 MB / 0.982 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.293, allocations: 59.41 kB / 0.9821 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.2944, allocations: 1.01 MB / 0.9831 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.2945, allocations: 33.7 kB / 0.9831 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.2949, allocations: 488.6 kB / 0.9836 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2951, allocations: 169.6 kB / 0.9837 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2951, allocations: 8 kB / 0.9837 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2953, allocations: 326 kB / 0.984 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.2957, allocations: 193 kB / 0.9842 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.2961, allocations: 324.5 kB / 0.9845 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.297, allocations: 0.5152 MB / 0.985 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.297, allocations: 0 / 0.985 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00115/0.2982, allocations: 0.6629 MB / 0.9857 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.2983, allocations: 187.1 kB / 0.9859 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.2984, allocations: 8 kB / 0.9859 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2984, allocations: 4 kB / 0.9859 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.2988, allocations: 131.8 kB / 0.986 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.2989, allocations: 7.938 kB / 0.986 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.2996, allocations: 103.2 kB / 0.9861 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.2997, allocations: 27.98 kB / 0.9861 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.2997, allocations: 6.656 kB / 0.9861 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009548/0.3007, allocations: 0.5293 MB / 0.9867 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3007, allocations: 11.98 kB / 0.9867 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.3007, allocations: 4 kB / 0.9867 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.3011, allocations: 128.2 kB / 0.9868 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3011, allocations: 11.94 kB / 0.9868 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.3017, allocations: 91.33 kB / 0.9869 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.3018, allocations: 31.98 kB / 0.9869 GB, free: 6.043 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.3021, allocations: 337 kB / 0.9872 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3023, allocations: 106.7 kB / 0.9873 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.304, allocations: 0.9836 MB / 0.9883 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.304, allocations: 15.92 kB / 0.9883 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.304, allocations: 4 kB / 0.9883 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.305, allocations: 0.8531 MB / 0.9892 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.3079, allocations: 2.019 MB / 0.9911 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.3079, allocations: 7.984 kB / 0.9911 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.3083, allocations: 95.89 kB / 0.9912 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.3083, allocations: 7.938 kB / 0.9912 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.3084, allocations: 24.14 kB / 0.9913 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3084, allocations: 8 kB / 0.9913 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3084, allocations: 4 kB / 0.9913 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3101, allocations: 1.21 MB / 0.9925 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.3105, allocations: 319.4 kB / 0.9928 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3106, allocations: 12 kB / 0.9928 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.3112, allocations: 43.97 kB / 0.9928 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3113, allocations: 52.42 kB / 0.9929 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.3114, allocations: 27.98 kB / 0.9929 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009496/0.3123, allocations: 0.7226 MB / 0.9936 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3123, allocations: 0 / 0.9936 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00144/0.3138, allocations: 0.6045 MB / 0.9942 GB, free: 14.34 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002798/0.3166, allocations: 2.183 MB / 0.9963 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.3181, allocations: 0.9378 MB / 0.9972 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3182, allocations: 1.438 kB / 0.9972 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.3187, allocations: 410.8 kB / 0.9976 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.3214, allocations: 0.5814 MB / 0.9982 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.3348, allocations: 9.035 MB / 1.007 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.3354, allocations: 1.054 MB / 1.008 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009948/0.3364, allocations: 304.7 kB / 1.008 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.337, allocations: 439.2 kB / 1.009 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/0.337, allocations: 0 / 1.009 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/0.3917, allocations: 35.51 MB / 1.043 GB, free: 11.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.392, allocations: 260.1 kB / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/3.654, allocations: 0 / 1.044 GB, free: 11.54 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)