Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00898/0.00898, allocations: 109.9 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.001126/0.001126, allocations: 177 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 1.843/1.843, 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.2/2.2, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 12 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.5778, allocations: 98.71 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.06334/0.6412, allocations: 47.53 MB / 0.7298 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02917/0.6704, allocations: 15.3 MB / 0.7447 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.6732, allocations: 51.62 kB / 0.7447 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003707/0.677, allocations: 0.8904 MB / 0.7456 GB, free: 14.49 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008541/0.6856, allocations: 2.201 MB / 0.7478 GB, free: 12.28 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009987/0.6956, allocations: 2.652 MB / 0.7504 GB, free: 9.633 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005498/0.7011, allocations: 2.302 MB / 0.7526 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.7033, allocations: 1.018 MB / 0.7536 GB, free: 6.285 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.7063, allocations: 1.074 MB / 0.7546 GB, free: 5.207 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.7079, allocations: 0.7038 MB / 0.7553 GB, free: 4.5 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.7081, allocations: 52 kB / 0.7554 GB, free: 4.449 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.7113, allocations: 1.053 MB / 0.7564 GB, free: 3.395 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.7119, allocations: 298.8 kB / 0.7567 GB, free: 3.102 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.7126, allocations: 368.8 kB / 0.757 GB, free: 2.734 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.7166, allocations: 2.256 MB / 0.7592 GB, free: 484 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.691e-06/0.7166, allocations: 4 kB / 0.7593 GB, free: 480 kB / 0.573 GB Notification: Performance of FrontEnd: time 2.666e-06/0.7167, allocations: 0 / 0.7593 GB, free: 480 kB / 0.573 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.7167, allocations: 0 / 0.7593 GB, free: 480 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004279/0.721, allocations: 1.823 MB / 0.761 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.721, allocations: 12.03 kB / 0.761 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.7231, allocations: 397.7 kB / 0.7614 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.7266, allocations: 1.469 MB / 0.7629 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000766/0.7274, allocations: 201.9 kB / 0.763 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.7276, allocations: 88 kB / 0.7631 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.7307, allocations: 1.091 MB / 0.7642 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.7307, allocations: 3.938 kB / 0.7642 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.7309, allocations: 36 kB / 0.7642 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.7309, allocations: 20 kB / 0.7643 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/0.7341, allocations: 0.9212 MB / 0.7652 GB, free: 10.26 MB / 0.5886 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.009828/0.744, allocations: 5.11 MB / 0.7701 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.7467, allocations: 0.7053 MB / 0.7708 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003628/0.7504, allocations: 1.809 MB / 0.7726 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.7519, allocations: 456.6 kB / 0.773 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000598/0.7526, allocations: 75.34 kB / 0.7731 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 4.116e-06/0.7526, allocations: 0 / 0.7731 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.004412/0.757, allocations: 1.186 MB / 0.7743 GB, free: 400 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.7571, allocations: 89.05 kB / 0.7744 GB, free: 292 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.7597, allocations: 1.324 MB / 0.7756 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.7599, allocations: 41.7 kB / 0.7757 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008043/0.7607, allocations: 0.6608 MB / 0.7763 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.761, allocations: 145.9 kB / 0.7765 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.761, allocations: 8 kB / 0.7765 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.7612, allocations: 338 kB / 0.7768 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.7625, allocations: 349.1 kB / 0.7771 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.7641, allocations: 0.5961 MB / 0.7777 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.7655, allocations: 434.2 kB / 0.7781 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.162e-06/0.7655, allocations: 0 / 0.7781 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003546/0.7691, allocations: 1.077 MB / 0.7792 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001458/0.7706, allocations: 2.718 MB / 0.7818 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.7706, allocations: 4 kB / 0.7818 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.7707, allocations: 12 kB / 0.7818 GB, free: 8.281 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.7719, allocations: 195.7 kB / 0.782 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.7719, allocations: 11.94 kB / 0.782 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.7734, allocations: 124.5 kB / 0.7822 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7736, allocations: 39.97 kB / 0.7822 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7736, allocations: 4 kB / 0.7822 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002817/0.7764, allocations: 0.8993 MB / 0.7831 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.7765, allocations: 8 kB / 0.7831 GB, free: 7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.7765, allocations: 8 kB / 0.7831 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/0.7774, allocations: 188.1 kB / 0.7833 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.7775, allocations: 19.92 kB / 0.7833 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.7788, allocations: 112.5 kB / 0.7834 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.779, allocations: 35.98 kB / 0.7834 GB, free: 6.645 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.7801, allocations: 494.5 kB / 0.7839 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.7804, allocations: 138.3 kB / 0.784 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.7838, allocations: 1.005 MB / 0.785 GB, free: 5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.7839, allocations: 7.984 kB / 0.785 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7839, allocations: 3.938 kB / 0.785 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.648e-06/0.7839, allocations: 4 kB / 0.785 GB, free: 4.984 MB / 0.6042 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.005733/0.7897, allocations: 2.16 MB / 0.7872 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.579e-06/0.7897, allocations: 0 / 0.7872 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/0.7905, allocations: 131.9 kB / 0.7873 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.7906, allocations: 8 kB / 0.7873 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.7906, allocations: 19.98 kB / 0.7873 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.7907, allocations: 7.938 kB / 0.7873 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.99e-06/0.7907, allocations: 0 / 0.7873 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.7939, allocations: 1.048 MB / 0.7883 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/0.7947, allocations: 311.2 kB / 0.7886 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.7949, allocations: 8 kB / 0.7886 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.7962, allocations: 119.9 kB / 0.7888 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7963, allocations: 35.91 kB / 0.7888 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/0.7964, allocations: 27.97 kB / 0.7888 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001859/0.7983, allocations: 0.9184 MB / 0.7897 GB, free: 48 kB / 0.6042 GB Notification: Performance of sort global known variables: time 3.117e-06/0.7983, allocations: 0 / 0.7897 GB, free: 48 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002674/0.801, allocations: 0.6899 MB / 0.7904 GB, free: 15.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/0.8023, allocations: 464.9 kB / 0.7908 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004517/0.8068, allocations: 1.459 MB / 0.7923 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.15e-06/0.8069, allocations: 0 / 0.7923 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.8084, allocations: 481.5 kB / 0.7927 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/0.8118, allocations: 0.6038 MB / 0.7933 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.8183, allocations: 2.767 MB / 0.796 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.8196, allocations: 1.225 MB / 0.7972 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001907/0.8215, allocations: 296.9 kB / 0.7975 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.8219, allocations: 111.4 kB / 0.7976 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of SimCode: time 1.611e-06/0.822, allocations: 0 / 0.7976 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of Templates: time 0.06574/0.8877, allocations: 26.41 MB / 0.8234 GB, free: 13.84 MB / 0.6511 GB