Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001542/0.001542, allocations: 185.9 kB / 325.6 MB, free: 2.816 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.559/2.559, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001215/0.001214, allocations: 96.16 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.0005124, allocations: 12.84 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.07745/0.2943, allocations: 50.6 MB / 0.9483 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3141, allocations: 11.22 MB / 0.9592 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002513/0.3167, allocations: 55.56 kB / 0.9593 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.3206, allocations: 0.9174 MB / 0.9602 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008635/0.3293, allocations: 2.223 MB / 0.9624 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00744/0.3367, allocations: 1.609 MB / 0.9639 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006964/0.3437, allocations: 2.524 MB / 0.9664 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/0.3463, allocations: 0.9971 MB / 0.9674 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/0.3503, allocations: 1.172 MB / 0.9685 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.3523, allocations: 0.7816 MB / 0.9693 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.3527, allocations: 56 kB / 0.9693 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.3567, allocations: 0.9049 MB / 0.9702 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.3573, allocations: 298.7 kB / 0.9705 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008132/0.3582, allocations: 356.8 kB / 0.9708 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.3625, allocations: 1.839 MB / 0.9726 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3625, allocations: 0 / 0.9726 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3626, allocations: 0 / 0.9726 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.3626, allocations: 0 / 0.9726 GB, free: 5.789 MB / 0.6198 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.005471/0.3681, allocations: 1.869 MB / 0.9745 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3681, allocations: 12.03 kB / 0.9745 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006338/0.3745, allocations: 0.6379 MB / 0.9751 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.3783, allocations: 1.225 MB / 0.9763 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.3786, allocations: 141.4 kB / 0.9764 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.379, allocations: 108 kB / 0.9765 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/0.384, allocations: 1.311 MB / 0.9778 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.3841, allocations: 0 / 0.9778 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.3843, allocations: 40 kB / 0.9778 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.3844, allocations: 24 kB / 0.9779 GB, free: 268 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006847/0.3913, allocations: 1.374 MB / 0.9792 GB, free: 14.89 MB / 0.6355 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.01208/0.4034, allocations: 5.354 MB / 0.9844 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.4141, allocations: 1.512 MB / 0.9859 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.4155, allocations: 1.239 MB / 0.9871 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003358/0.4189, allocations: 0.6705 MB / 0.9878 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=69): time 4.148e-06/0.4189, allocations: 4 kB / 0.9878 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69): time 0.009616/0.4285, allocations: 1.77 MB / 0.9895 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.4286, allocations: 63.95 kB / 0.9896 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.4313, allocations: 1.255 MB / 0.9908 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.4315, allocations: 41.69 kB / 0.9908 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008522/0.4323, allocations: 0.6579 MB / 0.9915 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.4327, allocations: 236.5 kB / 0.9917 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.4328, allocations: 16 kB / 0.9917 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.433, allocations: 337.9 kB / 0.992 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.4359, allocations: 0.5484 MB / 0.9926 GB, free: 464 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/0.4392, allocations: 0.7625 MB / 0.9933 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.4422, allocations: 0.594 MB / 0.9939 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4422, allocations: 0 / 0.9939 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.006886/0.4491, allocations: 1.45 MB / 0.9953 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005856/0.4497, allocations: 1.188 MB / 0.9965 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4497, allocations: 8 kB / 0.9965 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.4498, allocations: 11.95 kB / 0.9965 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.4523, allocations: 279.6 kB / 0.9968 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.4523, allocations: 11.94 kB / 0.9968 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/0.4559, allocations: 247 kB / 0.997 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.4562, allocations: 35.98 kB / 0.997 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4562, allocations: 4 kB / 0.9971 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006592/0.4628, allocations: 1.305 MB / 0.9983 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4629, allocations: 4 kB / 0.9983 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4629, allocations: 4 kB / 0.9983 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.4658, allocations: 283.9 kB / 0.9986 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-05/0.4658, allocations: 7.984 kB / 0.9986 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/0.4696, allocations: 235.1 kB / 0.9988 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.4699, allocations: 39.97 kB / 0.9989 GB, free: 9.828 MB / 0.6511 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.001335/0.4713, allocations: 412.8 kB / 0.9993 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/0.4719, allocations: 146.2 kB / 0.9994 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.4819, allocations: 1.512 MB / 1.001 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/0.482, allocations: 8 kB / 1.001 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.482, allocations: 4 kB / 1.001 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01206/0.4941, allocations: 1.281 MB / 1.002 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03676/0.5309, allocations: 3.245 MB / 1.005 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.531, allocations: 8 kB / 1.005 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006595/0.5376, allocations: 231.8 kB / 1.006 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-05/0.5377, allocations: 8 kB / 1.006 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.5379, allocations: 23.98 kB / 1.006 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/0.538, allocations: 15.92 kB / 1.006 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.538, allocations: 4 kB / 1.006 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/0.5553, allocations: 2.583 MB / 1.008 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.557, allocations: 370.8 kB / 1.008 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004874/0.5575, allocations: 24.06 kB / 1.008 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003664/0.5612, allocations: 179.7 kB / 1.009 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/0.5616, allocations: 72.36 kB / 1.009 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/0.5618, allocations: 35.98 kB / 1.009 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002457/0.5643, allocations: 0.9006 MB / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.1e-07/0.5643, allocations: 0 / 1.01 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003396/0.5677, allocations: 0.7914 MB / 1.01 GB, free: 13.51 MB / 0.6667 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.001548/0.5693, allocations: 0.5012 MB / 1.011 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.5795, allocations: 2.074 MB / 1.013 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.5795, allocations: 4.125 kB / 1.013 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004394/0.5839, allocations: 0.7106 MB / 1.014 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/0.5943, allocations: 0.7313 MB / 1.014 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/0.6033, allocations: 3.147 MB / 1.017 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.6046, allocations: 1.257 MB / 1.019 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002908/0.6075, allocations: 354.8 kB / 1.019 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/0.6082, allocations: 115.4 kB / 1.019 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.302e-06/0.6082, allocations: 4 kB / 1.019 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of Templates: time 0.08835/0.6966, allocations: 29.09 MB / 1.048 GB, free: 7.699 MB / 0.698 GB