Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.722/2.722, allocations: 287.9 MB / 302.9 MB, free: 8.312 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.001437/0.001437, allocations: 177.5 kB / 371.4 MB, free: 10.68 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.12/2.12, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001011/0.001011, allocations: 90.69 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004416, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06182/0.218, allocations: 50.61 MB / 1.028 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02192/0.2399, allocations: 11.23 MB / 1.039 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.2424, allocations: 59.56 kB / 1.039 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.2462, allocations: 0.9214 MB / 1.04 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008499/0.2547, allocations: 2.224 MB / 1.042 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.2615, allocations: 1.714 MB / 1.044 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005559/0.2671, allocations: 2.53 MB / 1.046 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.2693, allocations: 0.9935 MB / 1.047 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.2724, allocations: 1.172 MB / 1.049 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.2741, allocations: 0.7893 MB / 1.049 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.2744, allocations: 56 kB / 1.049 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.2778, allocations: 0.905 MB / 1.05 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000562/0.2784, allocations: 294.8 kB / 1.05 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000721/0.2791, allocations: 360.8 kB / 1.051 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.2827, allocations: 1.847 MB / 1.053 GB, free: 360 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.375e-06/0.2828, allocations: 4 kB / 1.053 GB, free: 356 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.67e-06/0.2828, allocations: 3.938 kB / 1.053 GB, free: 352 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.2828, allocations: 0 / 1.053 GB, free: 352 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004255/0.2871, allocations: 1.863 MB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2871, allocations: 8.031 kB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.2914, allocations: 0.6379 MB / 1.055 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.2944, allocations: 1.229 MB / 1.056 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.2946, allocations: 149.3 kB / 1.056 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.2949, allocations: 104 kB / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.2988, allocations: 1.323 MB / 1.058 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.2989, allocations: 0 / 1.058 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.2991, allocations: 40 kB / 1.058 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.2991, allocations: 27.98 kB / 1.058 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/0.3041, allocations: 1.366 MB / 1.059 GB, free: 9.438 MB / 0.6823 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.01064/0.3148, allocations: 5.378 MB / 1.064 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006937/0.3217, allocations: 1.52 MB / 1.066 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.3231, allocations: 1.228 MB / 1.067 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5664/0.8895, allocations: 0.6788 MB / 1.068 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.256e-06/0.8896, allocations: 0.7188 kB / 1.068 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.007217/0.8968, allocations: 1.768 MB / 1.07 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.8969, allocations: 70.17 kB / 1.07 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.8993, allocations: 1.249 MB / 1.071 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.8995, allocations: 44.84 kB / 1.071 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006537/0.9002, allocations: 0.6541 MB / 1.072 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.9005, allocations: 231.4 kB / 1.072 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.9006, allocations: 15.31 kB / 1.072 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.9007, allocations: 337.5 kB / 1.072 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.9029, allocations: 0.5444 MB / 1.073 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.9054, allocations: 0.7692 MB / 1.073 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.9077, allocations: 0.5947 MB / 1.074 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.9078, allocations: 1 kB / 1.074 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.005423/0.9132, allocations: 1.451 MB / 1.075 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.9135, allocations: 1.196 MB / 1.077 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.9136, allocations: 6.344 kB / 1.077 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.9136, allocations: 7 kB / 1.077 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.9155, allocations: 284.1 kB / 1.077 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/0.9155, allocations: 10.91 kB / 1.077 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.9177, allocations: 239.2 kB / 1.077 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.918, allocations: 47.83 kB / 1.077 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.918, allocations: 5.531 kB / 1.077 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004996/0.923, allocations: 1.298 MB / 1.078 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.9231, allocations: 3.312 kB / 1.078 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.9231, allocations: 6.719 kB / 1.078 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.9249, allocations: 280.4 kB / 1.079 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.925, allocations: 7.328 kB / 1.079 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.9271, allocations: 236.2 kB / 1.079 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.9274, allocations: 44.25 kB / 1.079 GB, free: 85.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * 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.0008998/0.9283, allocations: 410.4 kB / 1.079 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.9287, allocations: 144.5 kB / 1.079 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/0.9342, allocations: 1.508 MB / 1.081 GB, free: 84.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.9342, allocations: 12.16 kB / 1.081 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.642e-06/0.9343, allocations: 0.8438 kB / 1.081 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004675/0.9389, allocations: 1.285 MB / 1.082 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008921/0.9479, allocations: 3.239 MB / 1.085 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.948, allocations: 4.891 kB / 1.085 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.9495, allocations: 235.2 kB / 1.086 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.9495, allocations: 8.469 kB / 1.086 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.9497, allocations: 29.28 kB / 1.086 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-05/0.9497, allocations: 14.36 kB / 1.086 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.802e-06/0.9497, allocations: 9.562 kB / 1.086 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007303/0.957, allocations: 2.573 MB / 1.088 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.9581, allocations: 372.9 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.9584, allocations: 26.27 kB / 1.089 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.9604, allocations: 183.9 kB / 1.089 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.9607, allocations: 67.72 kB / 1.089 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.9608, allocations: 46.47 kB / 1.089 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001751/0.9626, allocations: 0.896 MB / 1.09 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-06/0.9626, allocations: 0 / 1.09 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002987/0.9656, allocations: 0.7862 MB / 1.09 GB, free: 80.72 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001218/0.9669, allocations: 0.5034 MB / 1.091 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007257/0.9742, allocations: 2.069 MB / 1.093 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.9742, allocations: 5.25 kB / 1.093 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/0.9772, allocations: 0.7077 MB / 1.094 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/0.9823, allocations: 0.7466 MB / 1.094 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/0.9889, allocations: 3.141 MB / 1.097 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.99, allocations: 1.254 MB / 1.099 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002688/0.9928, allocations: 358.1 kB / 1.099 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.9934, allocations: 127 kB / 1.099 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of SimCode: time 1.686e-06/0.9934, allocations: 0 / 1.099 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of Templates: time 0.06373/1.057, allocations: 29.22 MB / 1.128 GB, free: 57.64 MB / 0.6823 GB