Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.5/2.5, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 188.2 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.629/2.629, allocations: 205.4 MB / 0.5766 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 93.89 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006689/0.0006692, allocations: 12.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2222, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.095/1.317, allocations: 250.9 MB / 1.144 GB, free: 34.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.08333/1.4, allocations: 42.57 MB / 1.185 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/1.413, allocations: 232.6 kB / 1.186 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.01541/1.428, allocations: 2.978 MB / 1.189 GB, free: 264 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0443/1.473, allocations: 8.971 MB / 1.197 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.03171/1.504, allocations: 5.806 MB / 1.203 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02985/1.534, allocations: 10.73 MB / 1.213 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/1.546, allocations: 4.285 MB / 1.218 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01973/1.566, allocations: 5.391 MB / 1.223 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009265/1.575, allocations: 3.192 MB / 1.226 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002539/1.578, allocations: 232 kB / 1.226 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/1.596, allocations: 2.793 MB / 1.229 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003432/1.599, allocations: 1.015 MB / 1.23 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004396/1.603, allocations: 1.373 MB / 1.231 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01916/1.623, allocations: 7.243 MB / 1.238 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.623, allocations: 0 / 1.238 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.547e-06/1.623, allocations: 0 / 1.238 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004586/1.623, allocations: 0 / 1.238 GB, free: 14.63 MB / 0.7605 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.02009/1.643, allocations: 6.226 MB / 1.244 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.643, allocations: 8.031 kB / 1.245 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/1.647, allocations: 0.7803 MB / 1.245 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/1.664, allocations: 4.622 MB / 1.25 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004734/1.664, allocations: 324.1 kB / 1.25 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/1.666, allocations: 439.9 kB / 1.251 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/1.68, allocations: 4.283 MB / 1.255 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/1.68, allocations: 19.78 kB / 1.255 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007245/1.681, allocations: 176 kB / 1.255 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/1.681, allocations: 120 kB / 1.255 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/1.692, allocations: 2.941 MB / 1.258 GB, free: 10.21 MB / 0.7761 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.05199/1.744, allocations: 25.12 MB / 1.282 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005634/1.75, allocations: 2.759 MB / 1.285 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004537/1.755, allocations: 3.912 MB / 1.289 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/1.755, allocations: 68.55 kB / 1.289 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=217): time 5.33e-06/1.755, allocations: 0 / 1.289 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=217): time 0.01934/1.774, allocations: 4.057 MB / 1.293 GB, free: 3.066 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/1.774, allocations: 77.39 kB / 1.293 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.786, allocations: 4.367 MB / 1.297 GB, free: 14.63 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005958/1.787, allocations: 77.7 kB / 1.297 GB, free: 14.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003869/1.791, allocations: 2.768 MB / 1.3 GB, free: 11.76 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.792, allocations: 0.7625 MB / 1.301 GB, free: 10.99 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/1.793, allocations: 56 kB / 1.301 GB, free: 10.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002866/1.793, allocations: 419.8 kB / 1.301 GB, free: 10.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/1.796, allocations: 0.7826 MB / 1.302 GB, free: 9.734 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/1.8, allocations: 1.795 MB / 1.304 GB, free: 7.504 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/1.804, allocations: 1.077 MB / 1.305 GB, free: 6.406 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/1.804, allocations: 4 kB / 1.305 GB, free: 6.402 MB / 0.823 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01407/1.818, allocations: 3.5 MB / 1.308 GB, free: 2.836 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004601/1.822, allocations: 10.3 MB / 1.318 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/1.822, allocations: 24 kB / 1.318 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/1.827, allocations: 0.5648 MB / 1.319 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/1.831, allocations: 0.5616 MB / 1.319 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.834, allocations: 2.682 MB / 1.322 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008529/1.843, allocations: 0.6375 MB / 1.323 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007215/1.844, allocations: 132.2 kB / 1.323 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.844, allocations: 0 / 1.323 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009092/1.853, allocations: 2.813 MB / 1.326 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/1.853, allocations: 27.95 kB / 1.326 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.855, allocations: 371.8 kB / 1.326 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/1.858, allocations: 0.5616 MB / 1.326 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/1.878, allocations: 7.784 MB / 1.334 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/1.891, allocations: 0.5755 MB / 1.335 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.892, allocations: 136 kB / 1.335 GB, free: 6.141 MB / 0.8542 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.005599/1.897, allocations: 0.9967 MB / 1.336 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002657/1.9, allocations: 0.5016 MB / 1.336 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/1.919, allocations: 3.585 MB / 1.34 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001545/1.919, allocations: 35.97 kB / 1.34 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.919, allocations: 0 / 1.34 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01235/1.931, allocations: 2.427 MB / 1.342 GB, free: 14.45 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 postOpt removeSimpleEquations (simulation): time 0.03735/1.969, allocations: 8.24 MB / 1.35 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/1.969, allocations: 4.031 kB / 1.35 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00439/1.973, allocations: 363.5 kB / 1.351 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.976, allocations: 307 kB / 1.351 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007051/1.977, allocations: 67.97 kB / 1.351 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/1.98, allocations: 2.494 MB / 1.353 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.98, allocations: 4 kB / 1.353 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.994, allocations: 4.431 MB / 1.358 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/1.998, allocations: 1.009 MB / 1.359 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001662/2, allocations: 55.89 kB / 1.359 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0069/2.006, allocations: 430.8 kB / 1.359 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006085/2.007, allocations: 153.8 kB / 1.359 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000394/2.008, allocations: 99.92 kB / 1.359 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00854/2.016, allocations: 2.901 MB / 1.362 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.82e-07/2.016, allocations: 0 / 1.362 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01683/2.033, allocations: 3.312 MB / 1.365 GB, free: 6.098 MB / 0.8855 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.004762/2.038, allocations: 1.53 MB / 1.367 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01335/2.051, allocations: 4.397 MB / 1.371 GB, free: 108 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.051, allocations: 0 / 1.371 GB, free: 108 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004106/2.055, allocations: 1.238 MB / 1.372 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02329/2.079, allocations: 2.636 MB / 1.375 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/2.108, allocations: 10.98 MB / 1.386 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004955/2.113, allocations: 2.982 MB / 1.389 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007722/2.121, allocations: 1.153 MB / 1.39 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/2.123, allocations: 411.2 kB / 1.39 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/2.123, allocations: 0 / 1.39 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of Templates: time 0.938/3.061, allocations: 103.5 MB / 1.491 GB, free: 287 MB / 0.9167 GB