Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01041/0.01041, allocations: 90.48 kB / 15.04 MB, free: 5.586 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.001215/0.001215, allocations: 173.9 kB / 15.92 MB, free: 5.559 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.203/2.203, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.473/2.473, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 12.03 kB / 0.6243 GB, free: 21.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 106.2 MB / 0.728 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.23/1.469, allocations: 381.6 MB / 1.101 GB, free: 3.297 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.9805/2.449, allocations: 78.61 MB / 1.177 GB, free: 49.13 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01948/2.469, allocations: 392.1 kB / 1.178 GB, free: 49.12 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.02766/2.496, allocations: 5.63 MB / 1.183 GB, free: 49.11 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.06868/2.565, allocations: 15.79 MB / 1.199 GB, free: 48.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.04702/2.612, allocations: 10.86 MB / 1.209 GB, free: 48.48 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.05207/2.664, allocations: 19.93 MB / 1.229 GB, free: 48.41 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02573/2.69, allocations: 8.942 MB / 1.238 GB, free: 47.31 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03207/2.722, allocations: 9.323 MB / 1.247 GB, free: 47.29 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01848/2.741, allocations: 6.073 MB / 1.253 GB, free: 47.25 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.005178/2.746, allocations: 450.8 kB / 1.253 GB, free: 47.25 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03042/2.776, allocations: 3.856 MB / 1.257 GB, free: 47.25 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.006937/2.783, allocations: 2.279 MB / 1.259 GB, free: 47.25 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.008675/2.792, allocations: 2.72 MB / 1.262 GB, free: 47.22 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03116/2.823, allocations: 16.29 MB / 1.278 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/2.823, allocations: 0 / 1.278 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.727e-06/2.823, allocations: 2.562 kB / 1.278 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007228/2.824, allocations: 0 / 1.278 GB, free: 38.66 MB / 0.8855 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.03829/2.862, allocations: 11.69 MB / 1.289 GB, free: 31.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/2.862, allocations: 8.281 kB / 1.289 GB, free: 31.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003829/2.866, allocations: 0.9336 MB / 1.29 GB, free: 31.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0209/2.887, allocations: 2.703 MB / 1.293 GB, free: 30.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03471/2.922, allocations: 10.8 MB / 1.303 GB, free: 26.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005384/2.927, allocations: 1.072 MB / 1.304 GB, free: 26.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003449/2.931, allocations: 0.7324 MB / 1.305 GB, free: 26.33 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03549/2.966, allocations: 9.098 MB / 1.314 GB, free: 21.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003722/2.967, allocations: 21.41 kB / 1.314 GB, free: 21.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002596/2.969, allocations: 301.2 kB / 1.314 GB, free: 21.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/2.97, allocations: 203.6 kB / 1.314 GB, free: 20.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0366/3.006, allocations: 7.387 MB / 1.321 GB, free: 15.98 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.144/3.15, allocations: 49.17 MB / 1.369 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02873/3.179, allocations: 4.814 MB / 1.374 GB, free: 2.297 MB / 0.9167 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.0354/3.215, allocations: 10.83 MB / 1.385 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01212/3.227, allocations: 2.586 MB / 1.387 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007711/3.235, allocations: 0.5804 MB / 1.388 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=329): time 2.098e-05/3.235, allocations: 2.531 kB / 1.388 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of matching and sorting (n=329): time 0.05767/3.292, allocations: 7.363 MB / 1.395 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/3.293, allocations: 88.91 kB / 1.395 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04662/3.339, allocations: 10.04 MB / 1.405 GB, free: 10.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00153/3.341, allocations: 116.8 kB / 1.405 GB, free: 10.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009745/3.351, allocations: 5.557 MB / 1.41 GB, free: 8.062 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00248/3.353, allocations: 1.139 MB / 1.412 GB, free: 7.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/3.354, allocations: 101.9 kB / 1.412 GB, free: 7.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003998/3.354, allocations: 492.8 kB / 1.412 GB, free: 6.656 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009943/3.364, allocations: 2.212 MB / 1.414 GB, free: 5.121 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/3.376, allocations: 4.244 MB / 1.418 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/3.388, allocations: 2.741 MB / 1.421 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/3.388, allocations: 12 kB / 1.421 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=616) (initialization): time 0.03165/3.42, allocations: 7.215 MB / 1.428 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01445/3.434, allocations: 30.12 MB / 1.458 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000233/3.434, allocations: 52 kB / 1.458 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/3.435, allocations: 268.9 kB / 1.458 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/3.446, allocations: 1.315 MB / 1.459 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/3.452, allocations: 3.935 MB / 1.463 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01718/3.469, allocations: 0.9593 MB / 1.464 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/3.471, allocations: 261.8 kB / 1.464 GB, free: 3.391 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/3.471, allocations: 4 kB / 1.464 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02281/3.494, allocations: 6.043 MB / 1.47 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/3.494, allocations: 48 kB / 1.47 GB, free: 15.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009049/3.495, allocations: 267.1 kB / 1.47 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009828/3.505, allocations: 1.25 MB / 1.472 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/3.51, allocations: 3.924 MB / 1.475 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/3.526, allocations: 0.9194 MB / 1.476 GB, free: 9.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/3.528, allocations: 250.4 kB / 1.477 GB, free: 9.312 MB / 1.01 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 (600): * Single equations (assignments): 594 * Array equations: 4 * Algorithm blocks: 0 * 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.009036/3.537, allocations: 2.553 MB / 1.479 GB, free: 7.938 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003866/3.541, allocations: 0.9683 MB / 1.48 GB, free: 6.957 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0281/3.569, allocations: 6.07 MB / 1.486 GB, free: 2.586 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-05/3.569, allocations: 41.55 kB / 1.486 GB, free: 2.547 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/3.569, allocations: 0 / 1.486 GB, free: 2.547 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02227/3.591, allocations: 4.48 MB / 1.49 GB, free: 15.33 MB / 1.026 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.05743/3.649, allocations: 14.38 MB / 1.504 GB, free: 3.922 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/3.649, allocations: 0 / 1.504 GB, free: 3.922 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008716/3.657, allocations: 0.8896 MB / 1.505 GB, free: 3.062 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008941/3.658, allocations: 192.4 kB / 1.505 GB, free: 2.871 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009208/3.659, allocations: 111.9 kB / 1.506 GB, free: 2.762 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005493/3.665, allocations: 3.839 MB / 1.509 GB, free: 14.68 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/3.665, allocations: 6.938 kB / 1.509 GB, free: 14.68 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03779/3.703, allocations: 8.583 MB / 1.518 GB, free: 6.004 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008813/3.711, allocations: 1.933 MB / 1.52 GB, free: 4.039 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004106/3.716, allocations: 69.75 kB / 1.52 GB, free: 3.973 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02243/3.738, allocations: 0.9045 MB / 1.521 GB, free: 3.07 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/3.739, allocations: 221.1 kB / 1.521 GB, free: 2.855 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009483/3.74, allocations: 183.8 kB / 1.521 GB, free: 2.676 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02193/3.762, allocations: 6.801 MB / 1.528 GB, free: 11.93 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.21e-07/3.762, allocations: 0 / 1.528 GB, free: 11.93 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0305/3.793, allocations: 5.457 MB / 1.533 GB, free: 6.465 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (344): * Single equations (assignments): 321 * 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.05956/3.852, allocations: 11.29 MB / 1.544 GB, free: 11.43 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.04696/3.899, allocations: 9.075 MB / 1.553 GB, free: 2.637 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/3.899, allocations: 4 kB / 1.553 GB, free: 2.633 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.7311/4.631, allocations: 2.7 MB / 1.555 GB, free: 481.7 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04556/4.676, allocations: 4.987 MB / 1.56 GB, free: 481.6 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1145/4.791, allocations: 75.98 MB / 1.635 GB, free: 418.8 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01473/4.806, allocations: 5.647 MB / 1.64 GB, free: 417.5 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.02308/4.829, allocations: 2.585 MB / 1.643 GB, free: 417 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01484/4.844, allocations: 5.123 MB / 1.648 GB, free: 412.9 MB / 1.073 GB Notification: Performance of SimCode: time 1.523e-06/4.844, allocations: 0 / 1.648 GB, free: 412.9 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7378/5.581, allocations: 268.7 MB / 1.91 GB, free: 173.1 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/5.582, allocations: 282.7 kB / 1.91 GB, free: 172.7 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/23.19, allocations: 0 / 1.91 GB, free: 172.7 MB / 1.073 GB