Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.88/4.88, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.002364, allocations: 363.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.951/3.951, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00171/0.00171, allocations: 183.9 kB / 1.225 GB, free: 36 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005277, allocations: 13.84 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1569, allocations: 115.3 MB / 1.461 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9282/1.085, allocations: 277.5 MB / 1.732 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.08321/1.168, allocations: 46.08 MB / 1.777 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/1.179, allocations: 246.3 kB / 1.777 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/1.19, allocations: 2.736 MB / 1.78 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03493/1.225, allocations: 9.408 MB / 1.789 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02205/1.247, allocations: 5.939 MB / 1.795 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03251/1.28, allocations: 21.02 MB / 1.815 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/1.29, allocations: 4.276 MB / 1.819 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01536/1.305, allocations: 5.727 MB / 1.825 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/1.315, allocations: 4.604 MB / 1.829 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001753/1.317, allocations: 232 kB / 1.83 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.328, allocations: 2.47 MB / 1.832 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002941/1.331, allocations: 1.061 MB / 1.833 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003692/1.335, allocations: 1.373 MB / 1.834 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/1.349, allocations: 7.391 MB / 1.842 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.19e-06/1.349, allocations: 0 / 1.842 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.524e-06/1.349, allocations: 0 / 1.842 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001949/1.349, allocations: 0 / 1.842 GB, free: 2.078 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01407/1.364, allocations: 6.23 MB / 1.848 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.364, allocations: 12.55 kB / 1.848 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/1.366, allocations: 0.7842 MB / 1.848 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/1.379, allocations: 4.963 MB / 1.853 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/1.38, allocations: 316.1 kB / 1.854 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009092/1.381, allocations: 436 kB / 1.854 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/1.391, allocations: 4.35 MB / 1.858 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/1.391, allocations: 19.78 kB / 1.858 GB, free: 496 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005018/1.392, allocations: 176 kB / 1.858 GB, free: 320 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/1.392, allocations: 116 kB / 1.859 GB, free: 204 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008006/1.4, allocations: 2.941 MB / 1.861 GB, free: 13.25 MB / 0.9323 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.04111/1.441, allocations: 25.03 MB / 1.886 GB, free: 2.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.59/2.031, allocations: 2.748 MB / 1.889 GB, free: 341.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/2.034, allocations: 0.9939 MB / 1.89 GB, free: 341.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002583/2.036, allocations: 3.922 MB / 1.893 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/2.037, allocations: 63.39 kB / 1.893 GB, free: 337.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=217): time 6.955e-06/2.037, allocations: 0 / 1.893 GB, free: 337.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=217): time 0.0134/2.05, allocations: 4.065 MB / 1.897 GB, free: 336.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/2.05, allocations: 73.81 kB / 1.897 GB, free: 336.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008601/2.059, allocations: 4.153 MB / 1.902 GB, free: 334.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004391/2.059, allocations: 82.02 kB / 1.902 GB, free: 334.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002368/2.062, allocations: 2.778 MB / 1.904 GB, free: 332.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009213/2.062, allocations: 0.7556 MB / 1.905 GB, free: 332.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/2.063, allocations: 59.53 kB / 1.905 GB, free: 332.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001906/2.063, allocations: 416.2 kB / 1.906 GB, free: 332 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/2.065, allocations: 0.7851 MB / 1.906 GB, free: 331.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/2.067, allocations: 1.803 MB / 1.908 GB, free: 330.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/2.07, allocations: 1.081 MB / 1.909 GB, free: 329.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-05/2.07, allocations: 6.188 kB / 1.909 GB, free: 329.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009825/2.08, allocations: 3.495 MB / 1.913 GB, free: 328.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/2.08, allocations: 0.747 MB / 1.913 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/2.08, allocations: 22 kB / 1.913 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/2.084, allocations: 0.5617 MB / 1.914 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/2.086, allocations: 0.5562 MB / 1.914 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/2.089, allocations: 2.688 MB / 1.917 GB, free: 324.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006055/2.095, allocations: 0.6133 MB / 1.918 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005745/2.095, allocations: 142.6 kB / 1.918 GB, free: 324.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/2.095, allocations: 3.812 kB / 1.918 GB, free: 324.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007136/2.103, allocations: 2.806 MB / 1.92 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-05/2.103, allocations: 21.81 kB / 1.921 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/2.104, allocations: 368.2 kB / 1.921 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/2.107, allocations: 0.5589 MB / 1.921 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009834/2.117, allocations: 7.705 MB / 1.929 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/2.122, allocations: 0.5696 MB / 1.929 GB, free: 316.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005479/2.123, allocations: 132.5 kB / 1.93 GB, free: 316.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00293/2.126, allocations: 1.009 MB / 1.931 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/2.127, allocations: 0.5049 MB / 1.931 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008728/2.136, allocations: 3.58 MB / 1.935 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.183e-05/2.136, allocations: 37.81 kB / 1.935 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-06/2.136, allocations: 0 / 1.935 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005804/2.142, allocations: 2.427 MB / 1.937 GB, free: 312.9 MB / 0.948 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.018/2.16, allocations: 8.203 MB / 1.945 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.16, allocations: 0 / 1.945 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/2.162, allocations: 365.5 kB / 1.945 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/2.163, allocations: 303.3 kB / 1.946 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000283/2.163, allocations: 70.06 kB / 1.946 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/2.165, allocations: 2.496 MB / 1.948 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.845e-06/2.165, allocations: 2 kB / 1.948 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009277/2.174, allocations: 4.328 MB / 1.952 GB, free: 304.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/2.177, allocations: 0.9752 MB / 1.953 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/2.178, allocations: 45.03 kB / 1.953 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004626/2.183, allocations: 428.5 kB / 1.954 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/2.183, allocations: 149.6 kB / 1.954 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/2.184, allocations: 108.3 kB / 1.954 GB, free: 303.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005602/2.189, allocations: 2.734 MB / 1.957 GB, free: 302.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.951e-06/2.189, allocations: 288 / 1.957 GB, free: 302.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01284/2.202, allocations: 3.261 MB / 1.96 GB, free: 301.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003004/2.205, allocations: 1.423 MB / 1.961 GB, free: 301.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009236/2.214, allocations: 4.402 MB / 1.966 GB, free: 297.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.215, allocations: 8.25 kB / 1.966 GB, free: 297.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002478/2.217, allocations: 1.222 MB / 1.967 GB, free: 296.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01457/2.232, allocations: 2.684 MB / 1.969 GB, free: 294 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/2.249, allocations: 11 MB / 1.98 GB, free: 283 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/2.252, allocations: 2.982 MB / 1.983 GB, free: 280 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00616/2.258, allocations: 1.167 MB / 1.984 GB, free: 278.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/2.26, allocations: 415.2 kB / 1.985 GB, free: 278.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.723e-06/2.26, allocations: 0 / 1.985 GB, free: 278.4 MB / 0.948 GB Notification: Performance of Templates: time 0.2029/2.462, allocations: 101 MB / 2.083 GB, free: 178.8 MB / 0.948 GB