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: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009131/0.009131, allocations: 107.2 kB / 15.06 MB, free: 5.562 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.002668/0.002668, allocations: 183.6 kB / 15.95 MB, free: 5.523 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.012/2.012, allocations: 194.6 MB / 211.3 MB, free: 10.94 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.131/2.131, allocations: 236.2 MB / 492.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 8 kB / 0.5869 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5398, allocations: 98.72 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.037/1.577, allocations: 377.3 MB / 1.052 GB, free: 41.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1324/1.709, allocations: 78.84 MB / 1.129 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01782/1.727, allocations: 405.1 kB / 1.129 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.02139/1.748, allocations: 5.625 MB / 1.135 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.05887/1.807, allocations: 15.77 MB / 1.15 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.03978/1.847, allocations: 10.48 MB / 1.16 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04358/1.891, allocations: 19.89 MB / 1.18 GB, free: 8.793 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02075/1.911, allocations: 8.867 MB / 1.188 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02581/1.937, allocations: 9.252 MB / 1.197 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01391/1.951, allocations: 6.082 MB / 1.203 GB, free: 460 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003715/1.955, allocations: 451.9 kB / 1.204 GB, free: 8 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/1.973, allocations: 3.909 MB / 1.208 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.005141/1.978, allocations: 2.26 MB / 1.21 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006694/1.985, allocations: 2.722 MB / 1.212 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02956/2.014, allocations: 16.32 MB / 1.228 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.632e-06/2.014, allocations: 0 / 1.228 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.098e-06/2.014, allocations: 3.938 kB / 1.228 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004417/2.015, allocations: 0 / 1.228 GB, free: 6.723 MB / 0.8698 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.03142/2.046, allocations: 11.91 MB / 1.24 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/2.046, allocations: 12.03 kB / 1.24 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/2.061, allocations: 2.708 MB / 1.243 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1/3.061, allocations: 10.91 MB / 1.253 GB, free: 339.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003719/3.065, allocations: 1.074 MB / 1.254 GB, free: 339.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/3.067, allocations: 0.7383 MB / 1.255 GB, free: 339 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/3.098, allocations: 9.075 MB / 1.264 GB, free: 335 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/3.098, allocations: 18.94 kB / 1.264 GB, free: 335 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001782/3.1, allocations: 302 kB / 1.264 GB, free: 334.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/3.1, allocations: 203.6 kB / 1.264 GB, free: 334.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/3.127, allocations: 7.397 MB / 1.272 GB, free: 332.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.07835/3.205, allocations: 49.16 MB / 1.32 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/3.222, allocations: 4.825 MB / 1.324 GB, free: 289.5 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.0264/3.248, allocations: 10.82 MB / 1.335 GB, free: 280.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008861/3.257, allocations: 2.551 MB / 1.337 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005657/3.263, allocations: 0.5836 MB / 1.338 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=328): time 1.524e-05/3.263, allocations: 0 / 1.338 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=328): time 0.02678/3.29, allocations: 7.381 MB / 1.345 GB, free: 275 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/3.29, allocations: 84.7 kB / 1.345 GB, free: 274.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0206/3.31, allocations: 10.02 MB / 1.355 GB, free: 266.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009125/3.311, allocations: 113.7 kB / 1.355 GB, free: 266.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.005971/3.317, allocations: 5.626 MB / 1.361 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/3.319, allocations: 1.143 MB / 1.362 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/3.32, allocations: 100 kB / 1.362 GB, free: 260 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002944/3.32, allocations: 496.8 kB / 1.362 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007196/3.327, allocations: 2.246 MB / 1.365 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008501/3.336, allocations: 4.288 MB / 1.369 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/3.344, allocations: 2.889 MB / 1.372 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.091e-05/3.344, allocations: 12 kB / 1.372 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02344/3.367, allocations: 7.441 MB / 1.379 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00563/3.373, allocations: 30.33 MB / 1.408 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/3.373, allocations: 56 kB / 1.409 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000849/3.374, allocations: 268.3 kB / 1.409 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007078/3.381, allocations: 1.311 MB / 1.41 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/3.385, allocations: 3.924 MB / 1.414 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/3.397, allocations: 0.9584 MB / 1.415 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/3.399, allocations: 275.9 kB / 1.415 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/3.399, allocations: 4 kB / 1.415 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01782/3.416, allocations: 6.33 MB / 1.421 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/3.417, allocations: 55.95 kB / 1.421 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/3.417, allocations: 265.2 kB / 1.422 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007024/3.424, allocations: 1.244 MB / 1.423 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/3.428, allocations: 3.935 MB / 1.427 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/3.441, allocations: 0.9089 MB / 1.428 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/3.442, allocations: 255.9 kB / 1.428 GB, free: 188.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.006605/3.448, allocations: 2.56 MB / 1.43 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002511/3.451, allocations: 0.9721 MB / 1.431 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/3.47, allocations: 6.07 MB / 1.437 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/3.47, allocations: 36 kB / 1.437 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/3.47, allocations: 0 / 1.437 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01424/3.484, allocations: 4.478 MB / 1.442 GB, free: 174.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.03922/3.524, allocations: 14.32 MB / 1.456 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/3.524, allocations: 3.984 kB / 1.456 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005421/3.529, allocations: 0.8895 MB / 1.456 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006652/3.53, allocations: 189.2 kB / 1.457 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/3.531, allocations: 107.9 kB / 1.457 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/3.534, allocations: 3.84 MB / 1.46 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.861e-06/3.534, allocations: 0 / 1.46 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/3.559, allocations: 8.516 MB / 1.469 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00608/3.565, allocations: 1.87 MB / 1.471 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002618/3.568, allocations: 68 kB / 1.471 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01058/3.578, allocations: 0.898 MB / 1.472 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007188/3.579, allocations: 222.5 kB / 1.472 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006905/3.58, allocations: 179.8 kB / 1.472 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0151/3.595, allocations: 6.778 MB / 1.479 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.308e-06/3.595, allocations: 0 / 1.479 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02199/3.617, allocations: 5.506 MB / 1.484 GB, free: 130.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.00726/3.624, allocations: 2.701 MB / 1.487 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02565/3.65, allocations: 9.776 MB / 1.496 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/3.65, allocations: 6 kB / 1.496 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007809/3.658, allocations: 2.706 MB / 1.499 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02447/3.682, allocations: 4.99 MB / 1.504 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/3.728, allocations: 22.39 MB / 1.526 GB, free: 88.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009573/3.738, allocations: 5.643 MB / 1.531 GB, free: 83.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02189/3.76, allocations: 2.553 MB / 1.534 GB, free: 80.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007234/3.767, allocations: 0.792 MB / 1.534 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of SimCode: time 2.973e-06/3.767, allocations: 0 / 1.534 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.9225/4.69, allocations: 180.1 MB / 1.71 GB, free: 270.8 MB / 0.8855 GB