Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.942/2.942, allocations: 287.9 MB / 302.9 MB, free: 8.309 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.001401/0.001401, allocations: 177.2 kB / 371.4 MB, free: 10.67 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.057/2.057, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001066/0.001066, allocations: 94.59 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 14.62 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 115.2 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.05206/0.2116, allocations: 38.82 MB / 1.017 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7653/0.9769, allocations: 147.4 MB / 1.161 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006883/0.9839, allocations: 126.2 kB / 1.161 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005334/0.9893, allocations: 1.721 MB / 1.162 GB, free: 4.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.006, allocations: 4.195 MB / 1.167 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01417/1.021, allocations: 3.609 MB / 1.17 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01662/1.037, allocations: 7.265 MB / 1.177 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02318/1.06, allocations: 9.538 MB / 1.186 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/1.071, allocations: 4.724 MB / 1.191 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008451/1.08, allocations: 3.983 MB / 1.195 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002567/1.082, allocations: 284 kB / 1.195 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008169/1.091, allocations: 1.651 MB / 1.197 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.004207/1.095, allocations: 2.078 MB / 1.199 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.004092/1.099, allocations: 1.797 MB / 1.201 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.02152/1.12, allocations: 13.39 MB / 1.214 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.36e-06/1.121, allocations: 3.938 kB / 1.214 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.899e-06/1.121, allocations: 0 / 1.214 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.00038/1.121, allocations: 0 / 1.214 GB, free: 10.92 MB / 0.7448 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.02619/1.147, allocations: 8.995 MB / 1.222 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.147, allocations: 16.02 kB / 1.222 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06299/1.21, allocations: 8.553 MB / 1.231 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/1.226, allocations: 5.412 MB / 1.236 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009428/1.227, allocations: 0.6862 MB / 1.237 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/1.231, allocations: 0.8983 MB / 1.238 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05202/1.283, allocations: 14.25 MB / 1.252 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003974/1.283, allocations: 23.78 kB / 1.252 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/1.286, allocations: 396 kB / 1.252 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/1.288, allocations: 0.5833 MB / 1.253 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06236/1.35, allocations: 15.52 MB / 1.268 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/1.463, allocations: 47.11 MB / 1.314 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03969/1.503, allocations: 9.92 MB / 1.323 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/1.505, allocations: 0.7145 MB / 1.324 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02435/1.529, allocations: 6.446 MB / 1.33 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=671): time 1.773e-05/1.529, allocations: 0 / 1.33 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1187): time 3.407/4.936, allocations: 335.3 MB / 1.658 GB, free: 135 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/4.936, allocations: 0.7114 MB / 1.659 GB, free: 134.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009489/4.945, allocations: 5.479 MB / 1.664 GB, free: 128.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003702/4.949, allocations: 229.7 kB / 1.664 GB, free: 128.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00354/4.953, allocations: 3.906 MB / 1.668 GB, free: 124.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006424/4.959, allocations: 3.903 MB / 1.672 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003551/4.963, allocations: 236 kB / 1.672 GB, free: 120.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007153/4.964, allocations: 0.7589 MB / 1.673 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09153/5.055, allocations: 19.11 MB / 1.691 GB, free: 100.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1101/5.165, allocations: 20.77 MB / 1.712 GB, free: 79.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1309/5.296, allocations: 18.77 MB / 1.73 GB, free: 60.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.365e-05/5.296, allocations: 12 kB / 1.73 GB, free: 60.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=1525) (initialization): time 0.9494/6.246, allocations: 51.9 MB / 1.781 GB, free: 300.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002947/6.249, allocations: 15.03 MB / 1.795 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/6.249, allocations: 33.03 kB / 1.795 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07725/6.326, allocations: 14.22 MB / 1.809 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05328/6.379, allocations: 6.323 MB / 1.815 GB, free: 284.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1559/6.535, allocations: 43.61 MB / 1.858 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04703/6.582, allocations: 4.419 MB / 1.862 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004348/6.587, allocations: 0.626 MB / 1.863 GB, free: 265.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/6.587, allocations: 3.844 kB / 1.863 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2817/6.869, allocations: 48.54 MB / 1.91 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/6.869, allocations: 32 kB / 1.91 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06317/6.932, allocations: 10.54 MB / 1.921 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07357/7.006, allocations: 6.371 MB / 1.927 GB, free: 210.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1185/7.124, allocations: 33.24 MB / 1.959 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04265/7.167, allocations: 4.371 MB / 1.964 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00432/7.171, allocations: 0.6243 MB / 1.964 GB, free: 172.2 MB / 0.948 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.01091/7.182, allocations: 2.463 MB / 1.967 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004007/7.186, allocations: 0.8466 MB / 1.967 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2343/7.42, allocations: 53.51 MB / 2.02 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/7.421, allocations: 120 kB / 2.02 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.111e-05/7.421, allocations: 16 kB / 2.02 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002342/7.421, allocations: 55.78 kB / 2.02 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2811/7.702, allocations: 118.2 MB / 2.135 GB, free: 5.836 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001356/7.702, allocations: 4 kB / 2.135 GB, free: 5.832 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04992/7.752, allocations: 5.704 MB / 2.141 GB, free: 128 kB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6398/8.392, allocations: 13.04 MB / 2.154 GB, free: 307.5 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004215/8.396, allocations: 429 kB / 2.154 GB, free: 307.5 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1023/8.499, allocations: 41.17 MB / 2.194 GB, free: 294.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/8.499, allocations: 4.969 kB / 2.194 GB, free: 294.8 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3098/8.809, allocations: 75.08 MB / 2.268 GB, free: 249 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01199/8.821, allocations: 4.129 MB / 2.272 GB, free: 245.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005498/8.826, allocations: 208 kB / 2.272 GB, free: 244.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04203/8.868, allocations: 4.394 MB / 2.276 GB, free: 240.5 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00364/8.872, allocations: 0.7561 MB / 2.277 GB, free: 239.7 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00433/8.876, allocations: 0.5072 MB / 2.277 GB, free: 239.2 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.007454/8.884, allocations: 3.664 MB / 2.281 GB, free: 235.5 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.56e-06/8.884, allocations: 0 / 2.281 GB, free: 235.5 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02791/8.912, allocations: 6.169 MB / 2.287 GB, free: 229.4 MB / 0.9637 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.007369/8.919, allocations: 1.34 MB / 2.288 GB, free: 228.5 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.2469/9.166, allocations: 67.11 MB / 2.354 GB, free: 161.3 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/9.166, allocations: 4.438 kB / 2.354 GB, free: 161.3 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.08452/9.251, allocations: 22.74 MB / 2.376 GB, free: 138.5 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/9.261, allocations: 1.411 MB / 2.377 GB, free: 137.1 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/9.373, allocations: 39.41 MB / 2.416 GB, free: 97.64 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009391/9.383, allocations: 5.583 MB / 2.421 GB, free: 92.02 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.06291/9.445, allocations: 5.331 MB / 2.427 GB, free: 86.68 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01553/9.461, allocations: 1.127 MB / 2.428 GB, free: 85.55 MB / 0.9637 GB Notification: Performance of SimCode: time 2.476e-06/9.461, allocations: 0 / 2.428 GB, free: 85.55 MB / 0.9637 GB Notification: Performance of Templates: time 1.134/10.59, allocations: 305.2 MB / 2.726 GB, free: 131.8 MB / 0.9637 GB