Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01239/0.01239, allocations: 91.94 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001201/0.001201, allocations: 172.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.142/2.142, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.479/2.479, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 9.812 kB / 0.6243 GB, free: 21.13 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2671, allocations: 106.2 MB / 0.7281 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes): time 0.1269/0.3941, allocations: 76.33 MB / 0.8026 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7967/1.191, allocations: 28.79 MB / 0.8307 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005857/1.197, allocations: 173.1 kB / 0.8309 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.008205/1.205, allocations: 1.663 MB / 0.8325 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0169/1.222, allocations: 3.857 MB / 0.8363 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.03401/1.256, allocations: 7.861 MB / 0.844 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01747/1.274, allocations: 7.157 MB / 0.851 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009127/1.283, allocations: 3.266 MB / 0.8541 GB, free: 26.77 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/1.297, allocations: 4.219 MB / 0.8583 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009864/1.307, allocations: 2.993 MB / 0.8612 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002876/1.31, allocations: 239.3 kB / 0.8614 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/1.323, allocations: 2.049 MB / 0.8634 GB, free: 26.74 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005128/1.328, allocations: 1.681 MB / 0.8651 GB, free: 26.74 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004636/1.332, allocations: 0.9732 MB / 0.866 GB, free: 26.71 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/1.348, allocations: 6.127 MB / 0.872 GB, free: 24.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.348, allocations: 0 / 0.872 GB, free: 24.27 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.476e-06/1.348, allocations: 0 / 0.872 GB, free: 24.27 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002892/1.348, allocations: 1.094 kB / 0.872 GB, free: 24.27 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.02192/1.37, allocations: 5.024 MB / 0.8769 GB, free: 21.35 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.37, allocations: 8.469 kB / 0.8769 GB, free: 21.35 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002608/1.373, allocations: 0.5479 MB / 0.8774 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/1.377, allocations: 0.5749 MB / 0.878 GB, free: 20.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/1.388, allocations: 2.982 MB / 0.8809 GB, free: 19.65 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/1.388, allocations: 292.9 kB / 0.8812 GB, free: 19.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/1.39, allocations: 388.7 kB / 0.8816 GB, free: 19.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/1.409, allocations: 5.901 MB / 0.8873 GB, free: 17.78 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/1.409, allocations: 15.81 kB / 0.8873 GB, free: 17.78 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/1.41, allocations: 164.3 kB / 0.8875 GB, free: 17.78 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000933/1.411, allocations: 455.7 kB / 0.8879 GB, free: 17.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/1.428, allocations: 5.318 MB / 0.8931 GB, free: 16.77 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.05915/1.487, allocations: 24.45 MB / 0.917 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/1.501, allocations: 4.479 MB / 0.9214 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03971/1.541, allocations: 12.5 MB / 0.9336 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007004/1.548, allocations: 2.164 MB / 0.9357 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005177/1.553, allocations: 0.555 MB / 0.9362 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=310): time 2.032e-05/1.553, allocations: 0 / 0.9362 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=334): time 0.05731/1.611, allocations: 13.19 MB / 0.9491 GB, free: 8.023 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.611, allocations: 111.7 kB / 0.9492 GB, free: 7.895 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00796/1.619, allocations: 3.159 MB / 0.9523 GB, free: 4.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.62, allocations: 93.7 kB / 0.9524 GB, free: 4.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002997/1.623, allocations: 2.048 MB / 0.9544 GB, free: 2.598 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00234/1.625, allocations: 1.16 MB / 0.9555 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000568/1.626, allocations: 80 kB / 0.9556 GB, free: 1.367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003898/1.627, allocations: 470.6 kB / 0.9561 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006284/1.633, allocations: 1.921 MB / 0.9579 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007968/1.641, allocations: 2.941 MB / 0.9608 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007608/1.648, allocations: 2.432 MB / 0.9632 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/1.649, allocations: 8 kB / 0.9632 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01999/1.669, allocations: 5.548 MB / 0.9686 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.004938/1.674, allocations: 12.18 MB / 0.9805 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.674, allocations: 28 kB / 0.9805 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/1.674, allocations: 52 kB / 0.9806 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06675/1.741, allocations: 4.154 MB / 0.9846 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/1.745, allocations: 3.963 MB / 0.9885 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008421/1.754, allocations: 379.6 kB / 0.9889 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/1.755, allocations: 199.9 kB / 0.9891 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.755, allocations: 0 / 0.9891 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01706/1.772, allocations: 5.044 MB / 0.994 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-05/1.772, allocations: 28 kB / 0.994 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.203e-05/1.772, allocations: 52 kB / 0.9941 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01255/1.785, allocations: 1.345 MB / 0.9954 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001431/1.785, allocations: 66.84 kB / 0.9954 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007956/1.793, allocations: 367.2 kB / 0.9958 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.795, allocations: 194.9 kB / 0.996 GB, free: 6.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00476/1.799, allocations: 1.25 MB / 0.9972 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.801, allocations: 395.1 kB / 0.9976 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/1.821, allocations: 5.385 MB / 1.003 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.207e-05/1.821, allocations: 43.97 kB / 1.003 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.821, allocations: 4 kB / 1.003 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01367/1.835, allocations: 4.249 MB / 1.007 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03917/1.874, allocations: 11.89 MB / 1.019 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.523e-05/1.874, allocations: 16 kB / 1.019 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.06251/1.937, allocations: 3.746 MB / 1.022 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/1.937, allocations: 31.38 kB / 1.022 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009674/1.938, allocations: 112 kB / 1.022 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/1.941, allocations: 3.865 MB / 1.026 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-05/1.941, allocations: 19.88 kB / 1.026 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02153/1.963, allocations: 9.356 MB / 1.035 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004511/1.967, allocations: 0.9759 MB / 1.036 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002068/1.969, allocations: 95.97 kB / 1.036 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006903/1.976, allocations: 287.4 kB / 1.037 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/1.978, allocations: 270 kB / 1.037 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007177/1.979, allocations: 155.9 kB / 1.037 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.005325/1.984, allocations: 2.076 MB / 1.039 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.52e-07/1.984, allocations: 0 / 1.039 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01232/1.996, allocations: 2.48 MB / 1.042 GB, free: 7.434 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (386): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02859/2.025, allocations: 14.31 MB / 1.056 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.1102/2.135, allocations: 11.45 MB / 1.067 GB, free: 13.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-05/2.135, allocations: 12.66 kB / 1.067 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.09289/2.228, allocations: 6.386 MB / 1.073 GB, free: 7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01436/2.243, allocations: 1.569 MB / 1.074 GB, free: 5.453 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05322/2.296, allocations: 35.56 MB / 1.109 GB, free: 288 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006681/2.303, allocations: 3.123 MB / 1.112 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02189/2.324, allocations: 2.529 MB / 1.115 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01051/2.335, allocations: 2.001 MB / 1.117 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of SimCode: time 1.894e-06/2.335, allocations: 4 kB / 1.117 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.048/3.384, allocations: 118.8 MB / 1.233 GB, free: 317 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/3.384, allocations: 288.6 kB / 1.233 GB, free: 316.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/11.71, allocations: 0 / 1.233 GB, free: 316.6 MB / 0.9167 GB