Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01212/0.01212, allocations: 107.2 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001514/0.001514, allocations: 185.5 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.04/2.04, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.452/2.452, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005059, allocations: 8 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6807, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.25/1.931, allocations: 377.3 MB / 1.052 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1705/2.101, allocations: 78.85 MB / 1.129 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02122/2.123, allocations: 397.1 kB / 1.129 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.02776/2.15, allocations: 5.621 MB / 1.135 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.07428/2.225, allocations: 15.77 MB / 1.15 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.04866/2.273, allocations: 10.48 MB / 1.16 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.05415/2.328, allocations: 19.9 MB / 1.18 GB, free: 8.883 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02628/2.354, allocations: 8.859 MB / 1.188 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03276/2.387, allocations: 9.256 MB / 1.197 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0173/2.404, allocations: 6.07 MB / 1.203 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004845/2.409, allocations: 455.9 kB / 1.204 GB, free: 112 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/2.432, allocations: 3.909 MB / 1.208 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00696/2.439, allocations: 2.268 MB / 1.21 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.008533/2.447, allocations: 2.718 MB / 1.213 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.03574/2.483, allocations: 16.32 MB / 1.228 GB, free: 6.828 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/2.483, allocations: 0 / 1.228 GB, free: 6.828 MB / 0.8699 GB Notification: Performance of FrontEnd: time 3.697e-06/2.483, allocations: 0 / 1.228 GB, free: 6.828 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.0007589/2.484, allocations: 0 / 1.228 GB, free: 6.828 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.04027/2.524, allocations: 11.92 MB / 1.24 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/2.524, allocations: 8.031 kB / 1.24 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003918/2.528, allocations: 0.9341 MB / 1.241 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02134/2.549, allocations: 2.7 MB / 1.244 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6409/3.19, allocations: 10.9 MB / 1.254 GB, free: 341.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006299/3.197, allocations: 1.085 MB / 1.255 GB, free: 341.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/3.201, allocations: 0.7416 MB / 1.256 GB, free: 341 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04137/3.242, allocations: 9.07 MB / 1.265 GB, free: 337 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004587/3.243, allocations: 26.89 kB / 1.265 GB, free: 337 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00282/3.246, allocations: 302.8 kB / 1.265 GB, free: 336.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003737/3.246, allocations: 194.8 kB / 1.265 GB, free: 336.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/3.282, allocations: 7.399 MB / 1.273 GB, free: 334.2 MB / 0.8855 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.1055/3.388, allocations: 49.17 MB / 1.321 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/3.409, allocations: 4.818 MB / 1.325 GB, free: 291.2 MB / 0.8855 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 evalFunc (simulation): time 0.03417/3.444, allocations: 10.83 MB / 1.336 GB, free: 282 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01131/3.455, allocations: 2.552 MB / 1.338 GB, free: 280.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007718/3.463, allocations: 0.5881 MB / 1.339 GB, free: 280.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=328): time 1.865e-05/3.463, allocations: 0 / 1.339 GB, free: 280.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=328): time 0.03666/3.5, allocations: 7.365 MB / 1.346 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/3.5, allocations: 88.67 kB / 1.346 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02728/3.527, allocations: 10.03 MB / 1.356 GB, free: 269 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/3.528, allocations: 113.7 kB / 1.356 GB, free: 268.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.007563/3.536, allocations: 5.616 MB / 1.362 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/3.538, allocations: 1.139 MB / 1.363 GB, free: 262.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/3.539, allocations: 103.3 kB / 1.363 GB, free: 262 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003488/3.539, allocations: 0.4886 MB / 1.363 GB, free: 261.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/3.549, allocations: 2.254 MB / 1.366 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/3.561, allocations: 4.278 MB / 1.37 GB, free: 254.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/3.573, allocations: 2.898 MB / 1.373 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.079e-05/3.573, allocations: 12 kB / 1.373 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.03067/3.604, allocations: 7.437 MB / 1.38 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.006468/3.61, allocations: 30.33 MB / 1.409 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/3.61, allocations: 55.98 kB / 1.41 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/3.612, allocations: 264.2 kB / 1.41 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/3.622, allocations: 1.318 MB / 1.411 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/3.626, allocations: 3.923 MB / 1.415 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01711/3.644, allocations: 0.966 MB / 1.416 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/3.645, allocations: 271.9 kB / 1.416 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/3.645, allocations: 4 kB / 1.416 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02381/3.669, allocations: 6.322 MB / 1.422 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/3.669, allocations: 55.95 kB / 1.422 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008462/3.67, allocations: 269.9 kB / 1.423 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009391/3.68, allocations: 1.248 MB / 1.424 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/3.684, allocations: 3.941 MB / 1.428 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/3.7, allocations: 0.9086 MB / 1.429 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/3.702, allocations: 255.9 kB / 1.429 GB, free: 190.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 594 * Array equations: 4 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00854/3.71, allocations: 2.56 MB / 1.431 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003578/3.714, allocations: 0.9683 MB / 1.432 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02715/3.741, allocations: 6.059 MB / 1.438 GB, free: 181 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/3.741, allocations: 39.98 kB / 1.438 GB, free: 181 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/3.741, allocations: 4 kB / 1.438 GB, free: 181 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02017/3.761, allocations: 4.486 MB / 1.443 GB, free: 176.4 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.0515/3.813, allocations: 14.33 MB / 1.457 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/3.813, allocations: 0 / 1.457 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008165/3.821, allocations: 0.8817 MB / 1.457 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008088/3.822, allocations: 189.5 kB / 1.458 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008498/3.823, allocations: 111.9 kB / 1.458 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/3.827, allocations: 3.839 MB / 1.461 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/3.827, allocations: 0 / 1.461 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03442/3.862, allocations: 8.506 MB / 1.47 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008024/3.87, allocations: 1.874 MB / 1.472 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003833/3.874, allocations: 71.94 kB / 1.472 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01614/3.89, allocations: 0.9025 MB / 1.473 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009751/3.891, allocations: 218.5 kB / 1.473 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008195/3.892, allocations: 175.8 kB / 1.473 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01855/3.91, allocations: 6.778 MB / 1.48 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/3.91, allocations: 0 / 1.48 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02801/3.938, allocations: 5.513 MB / 1.485 GB, free: 132.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04689/3.985, allocations: 11.73 MB / 1.496 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04584/4.031, allocations: 9.773 MB / 1.506 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/4.031, allocations: 4 kB / 1.506 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/4.045, allocations: 2.711 MB / 1.509 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04198/4.088, allocations: 4.983 MB / 1.513 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09213/4.18, allocations: 69.95 MB / 1.582 GB, free: 30.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/4.19, allocations: 5.643 MB / 1.587 GB, free: 25.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01936/4.21, allocations: 2.557 MB / 1.59 GB, free: 22.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01251/4.222, allocations: 5.166 MB / 1.595 GB, free: 17.52 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/4.222, allocations: 0 / 1.595 GB, free: 17.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.331/5.553, allocations: 270.6 MB / 1.859 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/5.554, allocations: 311.5 kB / 1.859 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/23.24, allocations: 0 / 1.859 GB, free: 115.5 MB / 0.8855 GB