Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.414/2.414, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.00159/0.00159, allocations: 172.6 kB / 325.6 MB, free: 2.812 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.71/2.71, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001149/0.001148, allocations: 92.44 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000863/0.0008631, allocations: 15.69 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2276, allocations: 106.2 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.09829/0.3259, allocations: 50.61 MB / 0.9483 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.3472, allocations: 11.25 MB / 0.9593 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.3502, allocations: 55.62 kB / 0.9593 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.3554, allocations: 0.9213 MB / 0.9602 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.3671, allocations: 2.222 MB / 0.9624 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.009218/0.3763, allocations: 1.627 MB / 0.964 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008242/0.3846, allocations: 2.528 MB / 0.9665 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.3876, allocations: 0.9971 MB / 0.9674 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.3923, allocations: 1.16 MB / 0.9686 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.3952, allocations: 0.7816 MB / 0.9693 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005804/0.3958, allocations: 56 kB / 0.9694 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005253/0.4011, allocations: 0.9362 MB / 0.9703 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007096/0.4018, allocations: 298.7 kB / 0.9706 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009407/0.4028, allocations: 356.8 kB / 0.9709 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005686/0.4085, allocations: 1.878 MB / 0.9728 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4086, allocations: 0 / 0.9728 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.945e-06/0.4086, allocations: 0 / 0.9728 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-05/0.4087, allocations: 4 kB / 0.9728 GB, free: 6.102 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.006952/0.4156, allocations: 1.894 MB / 0.9746 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4157, allocations: 8.031 kB / 0.9746 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0173/0.433, allocations: 0.6456 MB / 0.9752 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/0.4385, allocations: 1.222 MB / 0.9764 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.4389, allocations: 145.4 kB / 0.9766 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.4393, allocations: 99.91 kB / 0.9767 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007344/0.4467, allocations: 1.33 MB / 0.978 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.4468, allocations: 7.938 kB / 0.978 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.4471, allocations: 39.98 kB / 0.978 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.4472, allocations: 31.94 kB / 0.978 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009781/0.457, allocations: 1.374 MB / 0.9794 GB, free: 15.14 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.0174/0.4744, allocations: 5.375 MB / 0.9846 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007079/0.4816, allocations: 1.122 MB / 0.9857 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.483, allocations: 1.232 MB / 0.9869 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003479/0.4865, allocations: 0.6823 MB / 0.9876 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=69): time 4.208e-06/0.4865, allocations: 0 / 0.9876 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69): time 0.009498/0.4961, allocations: 1.797 MB / 0.9894 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.4962, allocations: 59.97 kB / 0.9894 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.4992, allocations: 1.296 MB / 0.9907 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.4995, allocations: 45.7 kB / 0.9907 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00096/0.5005, allocations: 0.6699 MB / 0.9914 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/0.501, allocations: 240.5 kB / 0.9916 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.5012, allocations: 16 kB / 0.9916 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5014, allocations: 341.9 kB / 0.9919 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.5044, allocations: 0.5485 MB / 0.9925 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/0.5079, allocations: 0.7781 MB / 0.9932 GB, free: 132 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/0.5111, allocations: 0.598 MB / 0.9938 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.5112, allocations: 4 kB / 0.9938 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007176/0.5184, allocations: 1.458 MB / 0.9953 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006138/0.519, allocations: 1.199 MB / 0.9964 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5191, allocations: 4 kB / 0.9964 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.5191, allocations: 11.95 kB / 0.9964 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.5216, allocations: 279.7 kB / 0.9967 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.5217, allocations: 7.938 kB / 0.9967 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.5246, allocations: 255 kB / 0.997 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.5248, allocations: 35.97 kB / 0.997 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5249, allocations: 4 kB / 0.997 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006944/0.5318, allocations: 1.313 MB / 0.9983 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.5319, allocations: 7.938 kB / 0.9983 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.5319, allocations: 8.312 kB / 0.9983 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/0.5344, allocations: 279.6 kB / 0.9986 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.5345, allocations: 8 kB / 0.9986 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.5374, allocations: 231.1 kB / 0.9988 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.5376, allocations: 39.98 kB / 0.9988 GB, free: 10.27 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.001065/0.5387, allocations: 424.8 kB / 0.9992 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.5391, allocations: 150.1 kB / 0.9994 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007136/0.5463, allocations: 1.528 MB / 1.001 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.5463, allocations: 8 kB / 1.001 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5464, allocations: 0 / 1.001 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006182/0.5525, allocations: 1.292 MB / 1.002 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.5644, allocations: 3.273 MB / 1.005 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.5645, allocations: 7.984 kB / 1.005 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/0.5668, allocations: 232.2 kB / 1.006 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.5668, allocations: 8 kB / 1.006 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.5669, allocations: 31.98 kB / 1.006 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/0.567, allocations: 8 kB / 1.006 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.567, allocations: 15.92 kB / 1.006 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.5775, allocations: 2.608 MB / 1.008 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.5788, allocations: 378.9 kB / 1.009 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.5792, allocations: 16 kB / 1.009 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.5818, allocations: 182.7 kB / 1.009 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.582, allocations: 72.2 kB / 1.009 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.5822, allocations: 39.97 kB / 1.009 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002081/0.5843, allocations: 0.9254 MB / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5843, allocations: 0 / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003158/0.5875, allocations: 0.7915 MB / 1.011 GB, free: 13.82 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.00151/0.589, allocations: 0.5131 MB / 1.011 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009979/0.599, allocations: 2.093 MB / 1.013 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.5991, allocations: 4 kB / 1.013 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/0.6027, allocations: 0.7147 MB / 1.014 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/0.6093, allocations: 0.7337 MB / 1.014 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/0.6179, allocations: 3.209 MB / 1.018 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.6191, allocations: 1.28 MB / 1.019 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002972/0.622, allocations: 353.3 kB / 1.019 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/0.6228, allocations: 115.4 kB / 1.019 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of SimCode: time 1.423e-06/0.6228, allocations: 0 / 1.019 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of Templates: time 0.1017/0.7245, allocations: 29.3 MB / 1.048 GB, free: 7.691 MB / 0.698 GB