Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.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.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.391/2.391, 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.002381/0.002381, allocations: 183.7 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.652/2.652, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001105/0.001105, allocations: 103.2 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 17.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2328, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.05599/0.2888, allocations: 38.83 MB / 0.9368 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9624/1.251, allocations: 147.4 MB / 1.081 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009417/1.261, allocations: 128.9 kB / 1.081 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008482/1.269, allocations: 1.719 MB / 1.083 GB, free: 11.13 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02494/1.294, allocations: 4.193 MB / 1.087 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02105/1.315, allocations: 3.6 MB / 1.09 GB, free: 11.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02612/1.342, allocations: 7.27 MB / 1.097 GB, free: 11 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0333/1.375, allocations: 9.536 MB / 1.107 GB, free: 9.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01629/1.391, allocations: 4.726 MB / 1.111 GB, free: 9.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01306/1.404, allocations: 3.987 MB / 1.115 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.004256/1.409, allocations: 282.4 kB / 1.115 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/1.423, allocations: 1.644 MB / 1.117 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006833/1.43, allocations: 2.094 MB / 1.119 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00665/1.436, allocations: 1.792 MB / 1.121 GB, free: 8.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02938/1.466, allocations: 13.4 MB / 1.134 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.466, allocations: 3.938 kB / 1.134 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.208e-06/1.466, allocations: 0 / 1.134 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007909/1.467, allocations: 0 / 1.134 GB, free: 0.5039 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.04905/1.516, allocations: 8.991 MB / 1.143 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/1.516, allocations: 8.062 kB / 1.143 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1351/1.651, allocations: 8.561 MB / 1.151 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02765/1.679, allocations: 5.401 MB / 1.156 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001379/1.68, allocations: 0.6958 MB / 1.157 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007062/1.687, allocations: 0.9032 MB / 1.158 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09693/1.784, allocations: 14.24 MB / 1.172 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007743/1.785, allocations: 25.75 kB / 1.172 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005921/1.791, allocations: 396.7 kB / 1.172 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003423/1.794, allocations: 0.5835 MB / 1.173 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1183/1.913, allocations: 15.51 MB / 1.188 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1919/2.105, allocations: 47.12 MB / 1.234 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0766/2.181, allocations: 9.91 MB / 1.244 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002837/2.184, allocations: 0.7097 MB / 1.244 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04381/2.228, allocations: 6.445 MB / 1.251 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=671): time 1.961e-05/2.228, allocations: 0 / 1.251 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1187): time 4.845/7.073, allocations: 335.3 MB / 1.578 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002881/7.073, allocations: 0.7113 MB / 1.579 GB, free: 218.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/7.084, allocations: 5.487 MB / 1.584 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.005177/7.09, allocations: 229.7 kB / 1.584 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/7.094, allocations: 3.902 MB / 1.588 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00875/7.103, allocations: 3.907 MB / 1.592 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005662/7.109, allocations: 232 kB / 1.592 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0008244/7.109, allocations: 0.7551 MB / 1.593 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1231/7.233, allocations: 19.12 MB / 1.611 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1343/7.367, allocations: 20.76 MB / 1.632 GB, free: 164 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1215/7.488, allocations: 18.76 MB / 1.65 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-05/7.489, allocations: 12 kB / 1.65 GB, free: 145.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1525) (initialization): time 0.3713/7.86, allocations: 51.91 MB / 1.701 GB, free: 93.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003287/7.863, allocations: 15.03 MB / 1.715 GB, free: 76.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/7.863, allocations: 32 kB / 1.715 GB, free: 76.92 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1114/7.975, allocations: 14.23 MB / 1.729 GB, free: 62.67 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08855/8.063, allocations: 6.324 MB / 1.736 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/8.212, allocations: 43.6 MB / 1.778 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07506/8.287, allocations: 4.418 MB / 1.782 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005945/8.293, allocations: 0.6282 MB / 1.783 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/8.293, allocations: 6.188 kB / 1.783 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.01/9.303, allocations: 48.53 MB / 1.83 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/9.303, allocations: 34.92 kB / 1.831 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09235/9.395, allocations: 10.54 MB / 1.841 GB, free: 319.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.106/9.502, allocations: 6.369 MB / 1.847 GB, free: 319.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1093/9.611, allocations: 33.23 MB / 1.879 GB, free: 298.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07433/9.685, allocations: 4.371 MB / 1.884 GB, free: 294.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005807/9.691, allocations: 0.6281 MB / 1.884 GB, free: 293.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 52 ($whenCondition7,$PRE.pow1.nextTimeEvent,$whenCondition6,$PRE.pow2.nextTimeEvent,$whenCondition5,$PRE.pow3.nextTimeEvent,$whenCondition4,$PRE.pow4.nextTimeEvent,$whenCondition3,$PRE.pow5.nextTimeEvent,$whenCondition2,$PRE.pow6.nextTimeEvent,$whenCondition1,$PRE.pow7.nextTimeEvent,$whenCondition9,$whenCondition8,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEventScaled,pow2.nextTimeEvent,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEvent,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEvent,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEvent,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEvent,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEvent,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEventScaled,line1.commercialCable.material,line2.commercialCable.material,line3.commercialCable.material,line4.commercialCable.material,line5.commercialCable.material,line6.commercialCable.material,line7.commercialCable.material,line8.commercialCable.material,ELoa.local_reset,ESol.local_reset,EWin.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1306): * Single equations (assignments): 1295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,20.4%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01708/9.708, allocations: 2.46 MB / 1.887 GB, free: 291.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00868/9.717, allocations: 0.8385 MB / 1.888 GB, free: 290.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3679/10.09, allocations: 53.53 MB / 1.94 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/10.09, allocations: 112 kB / 1.94 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/10.09, allocations: 16 kB / 1.94 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003163/10.09, allocations: 63.77 kB / 1.94 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.428/10.51, allocations: 118.2 MB / 2.055 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002007/10.51, allocations: 4 kB / 2.055 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1024/10.62, allocations: 5.708 MB / 2.061 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1087/10.73, allocations: 13.04 MB / 2.074 GB, free: 92.71 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006015/10.73, allocations: 435.4 kB / 2.074 GB, free: 92.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1361/10.87, allocations: 41.16 MB / 2.114 GB, free: 50.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/10.87, allocations: 7.938 kB / 2.114 GB, free: 50.95 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.241/12.11, allocations: 75.08 MB / 2.188 GB, free: 309.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02169/12.13, allocations: 4.124 MB / 2.192 GB, free: 308.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01029/12.14, allocations: 214.9 kB / 2.192 GB, free: 308.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.09103/12.23, allocations: 4.396 MB / 2.196 GB, free: 308.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009091/12.24, allocations: 0.7555 MB / 2.197 GB, free: 308.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008525/12.25, allocations: 0.5083 MB / 2.197 GB, free: 308.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01137/12.26, allocations: 3.664 MB / 2.201 GB, free: 306.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/12.26, allocations: 0 / 2.201 GB, free: 306.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0373/12.3, allocations: 6.169 MB / 2.207 GB, free: 306.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (EWin.y,ESol.y,ELoa.y) * Number of discrete variables: 25 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEvent,pow2.nextTimeEventScaled,pow3.nextTimeEvent,pow3.nextTimeEventScaled,pow4.nextTimeEvent,pow4.nextTimeEventScaled,pow5.nextTimeEvent,pow5.nextTimeEventScaled,pow6.nextTimeEvent,pow6.nextTimeEventScaled,pow7.nextTimeEvent,pow7.nextTimeEventScaled) * Number of discrete states: 16 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow2.nextTimeEvent,pow3.nextTimeEvent,pow4.nextTimeEvent,pow5.nextTimeEvent,pow6.nextTimeEvent,pow7.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1048): * Single equations (assignments): 1029 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,21.0%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/12.31, allocations: 1.348 MB / 2.208 GB, free: 306 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.4394/12.75, allocations: 67.11 MB / 2.274 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/12.75, allocations: 4.438 kB / 2.274 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.1559/12.91, allocations: 22.75 MB / 2.296 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01591/12.92, allocations: 1.415 MB / 2.298 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2127/13.13, allocations: 39.4 MB / 2.336 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/13.14, allocations: 5.586 MB / 2.341 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.07762/13.22, allocations: 5.323 MB / 2.347 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02133/13.24, allocations: 1.139 MB / 2.348 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.843e-06/13.24, allocations: 0 / 2.348 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of Templates: time 2.006/15.25, allocations: 305.2 MB / 2.646 GB, free: 203.5 MB / 0.9324 GB