Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.414/1.414, allocations: 252 MB / 267.3 MB, free: 10.85 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.001071/0.001071, allocations: 183.5 kB / 327 MB, free: 2.098 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.879/1.879, 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.0008475/0.0008477, allocations: 88.61 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 13.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1999, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04014/0.2401, allocations: 59.3 MB / 0.9588 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.2606, allocations: 18.08 MB / 0.9765 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.2629, allocations: 59.62 kB / 0.9765 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.2653, allocations: 0.6837 MB / 0.9772 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.2718, allocations: 2.379 MB / 0.9795 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.276, allocations: 1.552 MB / 0.981 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006922/0.2829, allocations: 5.665 MB / 0.9866 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.2854, allocations: 1.179 MB / 0.9877 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.2899, allocations: 1.61 MB / 0.9893 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.2922, allocations: 1.24 MB / 0.9905 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.2924, allocations: 68 kB / 0.9906 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.2965, allocations: 1.633 MB / 0.9922 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.2969, allocations: 314.4 kB / 0.9925 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.2981, allocations: 0.872 MB / 0.9933 GB, free: 440 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004762/0.3028, allocations: 3.033 MB / 0.9963 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3029, allocations: 0 / 0.9963 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.519e-06/0.3029, allocations: 4 kB / 0.9963 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.3029, allocations: 0 / 0.9963 GB, free: 13.39 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003812/0.3067, allocations: 1.927 MB / 0.9982 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3068, allocations: 8.031 kB / 0.9982 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.307, allocations: 160.8 kB / 0.9983 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.3087, allocations: 413.3 kB / 0.9987 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/0.3118, allocations: 1.553 MB / 1 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/0.3119, allocations: 82.06 kB / 1 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.312, allocations: 112 kB / 1 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.3142, allocations: 1.217 MB / 1.002 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.3143, allocations: 3.906 kB / 1.002 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.3144, allocations: 47.94 kB / 1.002 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.3144, allocations: 31.98 kB / 1.002 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.3165, allocations: 0.9719 MB / 1.003 GB, free: 6.664 MB / 0.6511 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.00787/0.3243, allocations: 6.59 MB / 1.009 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3262, allocations: 0.8731 MB / 1.01 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/0.3271, allocations: 426.5 kB / 1.01 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.3288, allocations: 1.793 MB / 1.012 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.3299, allocations: 492.2 kB / 1.013 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=77): time 3.156e-06/0.3299, allocations: 0 / 1.013 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77): time 0.003067/0.333, allocations: 1.246 MB / 1.014 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.3331, allocations: 85.77 kB / 1.014 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.3349, allocations: 1.284 MB / 1.015 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.94e-05/0.335, allocations: 45.7 kB / 1.015 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.3357, allocations: 0.7045 MB / 1.016 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.336, allocations: 276.1 kB / 1.016 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.336, allocations: 12 kB / 1.016 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3362, allocations: 345.9 kB / 1.016 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/0.337, allocations: 349.8 kB / 1.017 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.3379, allocations: 0.5955 MB / 1.017 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.3397, allocations: 0.9544 MB / 1.018 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3397, allocations: 4 kB / 1.018 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002275/0.342, allocations: 1.142 MB / 1.019 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.3422, allocations: 278.1 kB / 1.02 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.3422, allocations: 8 kB / 1.02 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3423, allocations: 12 kB / 1.02 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.3431, allocations: 227.6 kB / 1.02 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.3431, allocations: 12 kB / 1.02 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3444, allocations: 167 kB / 1.02 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.3445, allocations: 51.92 kB / 1.02 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.3445, allocations: 4 kB / 1.02 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002016/0.3465, allocations: 0.9777 MB / 1.021 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.3466, allocations: 8 kB / 1.021 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3466, allocations: 12.53 kB / 1.021 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/0.3474, allocations: 223.6 kB / 1.021 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3474, allocations: 15.98 kB / 1.021 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.3485, allocations: 155.1 kB / 1.021 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.3486, allocations: 47.98 kB / 1.022 GB, free: 2.027 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0007831/0.3494, allocations: 416.8 kB / 1.022 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.3497, allocations: 158.1 kB / 1.022 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.3525, allocations: 1.436 MB / 1.023 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.3526, allocations: 15.98 kB / 1.024 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3526, allocations: 3.938 kB / 1.024 GB, free: 16 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/0.3547, allocations: 1.244 MB / 1.025 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.3593, allocations: 2.732 MB / 1.027 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.3594, allocations: 7.984 kB / 1.027 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.3602, allocations: 167.9 kB / 1.028 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.3602, allocations: 7.984 kB / 1.028 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.3603, allocations: 27.98 kB / 1.028 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.3603, allocations: 7.938 kB / 1.028 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3603, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.3636, allocations: 1.871 MB / 1.029 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.3643, allocations: 390.7 kB / 1.03 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.3645, allocations: 20 kB / 1.03 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.3654, allocations: 111.8 kB / 1.03 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.3656, allocations: 76.78 kB / 1.03 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.267e-05/0.3657, allocations: 35.97 kB / 1.03 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001329/0.367, allocations: 0.8806 MB / 1.031 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3671, allocations: 0 / 1.031 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002198/0.3693, allocations: 0.8537 MB / 1.032 GB, free: 7.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.005591/0.3749, allocations: 3.259 MB / 1.035 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003191/0.3781, allocations: 1.594 MB / 1.036 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3781, allocations: 0 / 1.036 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3791, allocations: 0.599 MB / 1.037 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.3826, allocations: 0.6389 MB / 1.038 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/0.4051, allocations: 12.69 MB / 1.05 GB, free: 4.156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.406, allocations: 1.251 MB / 1.051 GB, free: 2.879 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001528/0.4075, allocations: 412.4 kB / 1.052 GB, free: 2.469 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009426/0.4085, allocations: 0.6594 MB / 1.052 GB, free: 1.809 MB / 0.698 GB Notification: Performance of SimCode: time 9.11e-07/0.4085, allocations: 0 / 1.052 GB, free: 1.809 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4654/0.8739, allocations: 43.8 MB / 1.095 GB, free: 124.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.8741, allocations: 282.4 kB / 1.095 GB, free: 124.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.651/4.525, allocations: 4 kB / 1.095 GB, free: 124.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)