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 2.596/2.596, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 175 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.6301 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001015, allocations: 94.91 kB / 0.7434 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008121/0.0008123, allocations: 15.88 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1732, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.006/1.179, allocations: 250.9 MB / 1.224 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1207/1.3, allocations: 42.61 MB / 1.265 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01144/1.311, allocations: 234.3 kB / 1.266 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01939/1.331, allocations: 2.973 MB / 1.268 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.07615/1.407, allocations: 8.97 MB / 1.277 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02363/1.431, allocations: 6.01 MB / 1.283 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02357/1.454, allocations: 10.76 MB / 1.294 GB, free: 9.168 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009943/1.464, allocations: 4.32 MB / 1.298 GB, free: 4.789 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0153/1.48, allocations: 5.395 MB / 1.303 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/1.487, allocations: 3.204 MB / 1.306 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001885/1.489, allocations: 232 kB / 1.306 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/1.501, allocations: 2.801 MB / 1.309 GB, free: 9.125 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002429/1.504, allocations: 1.031 MB / 1.31 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003333/1.507, allocations: 1.373 MB / 1.312 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01489/1.522, allocations: 7.302 MB / 1.319 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.243e-06/1.522, allocations: 0 / 1.319 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.796e-06/1.522, allocations: 0 / 1.319 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002079/1.523, allocations: 0 / 1.319 GB, free: 15.39 MB / 0.8542 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.02044/1.543, allocations: 6.226 MB / 1.325 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.543, allocations: 12.03 kB / 1.325 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/1.546, allocations: 0.7842 MB / 1.326 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/1.559, allocations: 4.64 MB / 1.33 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/1.56, allocations: 328.1 kB / 1.33 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/1.561, allocations: 435.9 kB / 1.331 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/1.572, allocations: 4.319 MB / 1.335 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/1.572, allocations: 19.77 kB / 1.335 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005232/1.573, allocations: 176 kB / 1.335 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/1.573, allocations: 119.9 kB / 1.335 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008596/1.582, allocations: 2.941 MB / 1.338 GB, free: 10.91 MB / 0.8698 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.03882/1.621, allocations: 25.17 MB / 1.363 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/1.626, allocations: 2.755 MB / 1.365 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004227/1.63, allocations: 3.916 MB / 1.369 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.811e-05/1.63, allocations: 64.56 kB / 1.369 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 6.512e-06/1.63, allocations: 0 / 1.369 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.01432/1.645, allocations: 4.057 MB / 1.373 GB, free: 3.723 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/1.645, allocations: 81.34 kB / 1.373 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009762/1.655, allocations: 4.371 MB / 1.378 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004632/1.655, allocations: 81.7 kB / 1.378 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003386/1.658, allocations: 2.773 MB / 1.38 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/1.66, allocations: 0.7625 MB / 1.381 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/1.66, allocations: 56 kB / 1.381 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003122/1.66, allocations: 411.8 kB / 1.382 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/1.662, allocations: 0.7904 MB / 1.382 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/1.665, allocations: 1.791 MB / 1.384 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/1.668, allocations: 1.077 MB / 1.385 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/1.668, allocations: 4 kB / 1.385 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01068/1.679, allocations: 3.496 MB / 1.389 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005803/1.685, allocations: 10.3 MB / 1.399 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.431e-05/1.685, allocations: 24 kB / 1.399 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/1.688, allocations: 0.569 MB / 1.399 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/1.692, allocations: 0.5577 MB / 1.4 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/1.697, allocations: 2.682 MB / 1.402 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/1.708, allocations: 0.6312 MB / 1.403 GB, free: 3.824 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/1.709, allocations: 136 kB / 1.403 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.709, allocations: 5.25 kB / 1.403 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/1.723, allocations: 2.801 MB / 1.406 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.25e-05/1.723, allocations: 24.97 kB / 1.406 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/1.725, allocations: 375.2 kB / 1.406 GB, free: 440 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/1.73, allocations: 0.5538 MB / 1.407 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/1.745, allocations: 7.787 MB / 1.414 GB, free: 7.496 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/1.751, allocations: 0.5854 MB / 1.415 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005699/1.752, allocations: 128 kB / 1.415 GB, free: 6.785 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.003298/1.755, allocations: 1.005 MB / 1.416 GB, free: 5.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.757, allocations: 0.5055 MB / 1.417 GB, free: 5.258 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009432/1.766, allocations: 3.569 MB / 1.42 GB, free: 1.621 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.506e-05/1.766, allocations: 39.97 kB / 1.42 GB, free: 1.582 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.766, allocations: 0 / 1.42 GB, free: 1.582 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005961/1.772, allocations: 2.435 MB / 1.423 GB, free: 15.09 MB / 0.9636 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.02115/1.793, allocations: 8.287 MB / 1.431 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.793, allocations: 0 / 1.431 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.795, allocations: 367.5 kB / 1.431 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/1.797, allocations: 311.1 kB / 1.431 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.797, allocations: 59.97 kB / 1.431 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/1.8, allocations: 2.49 MB / 1.434 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.798e-06/1.8, allocations: 8.125 kB / 1.434 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7019/2.502, allocations: 4.429 MB / 1.438 GB, free: 351.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/2.505, allocations: 1.028 MB / 1.439 GB, free: 351.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/2.506, allocations: 44.14 kB / 1.439 GB, free: 351.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004891/2.511, allocations: 424.5 kB / 1.44 GB, free: 351.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/2.511, allocations: 150.6 kB / 1.44 GB, free: 351.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000364/2.512, allocations: 117.4 kB / 1.44 GB, free: 351.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007609/2.519, allocations: 2.902 MB / 1.443 GB, free: 350.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.201e-06/2.52, allocations: 0 / 1.443 GB, free: 350.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01564/2.535, allocations: 3.326 MB / 1.446 GB, free: 350.5 MB / 0.9636 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.003737/2.539, allocations: 1.524 MB / 1.447 GB, free: 350.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01038/2.549, allocations: 4.4 MB / 1.452 GB, free: 348.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/2.549, allocations: 2 kB / 1.452 GB, free: 348.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003064/2.553, allocations: 1.23 MB / 1.453 GB, free: 348 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01557/2.568, allocations: 2.638 MB / 1.455 GB, free: 347.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/2.589, allocations: 10.99 MB / 1.466 GB, free: 341.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004751/2.594, allocations: 2.982 MB / 1.469 GB, free: 340.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007242/2.601, allocations: 1.166 MB / 1.47 GB, free: 340.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/2.603, allocations: 419.2 kB / 1.471 GB, free: 340.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.89e-06/2.603, allocations: 0 / 1.471 GB, free: 340.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.2483/2.851, allocations: 104.1 MB / 1.572 GB, free: 257.6 MB / 0.9636 GB