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 5.016/5.016, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002661/0.002661, allocations: 366.5 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.335/4.335, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001753/0.001753, allocations: 180.3 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.000532, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.07371/0.2842, allocations: 40.35 MB / 1.501 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.9357/1.22, allocations: 156.7 MB / 1.654 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006853/1.227, allocations: 139.2 kB / 1.654 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005883/1.233, allocations: 1.695 MB / 1.656 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0179/1.251, allocations: 4.161 MB / 1.66 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01576/1.267, allocations: 3.614 MB / 1.663 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02365/1.29, allocations: 12.06 MB / 1.675 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02699/1.317, allocations: 9.542 MB / 1.684 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01757/1.335, allocations: 6.588 MB / 1.691 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/1.346, allocations: 4.624 MB / 1.695 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003101/1.35, allocations: 280 kB / 1.695 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008811/1.358, allocations: 1.576 MB / 1.697 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.005081/1.364, allocations: 2.187 MB / 1.699 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00449/1.368, allocations: 1.789 MB / 1.701 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02317/1.391, allocations: 13.42 MB / 1.714 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.391, allocations: 3.938 kB / 1.714 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.585e-06/1.391, allocations: 0 / 1.714 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0005625/1.392, allocations: 0 / 1.714 GB, free: 7.191 MB / 0.7761 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.03502/1.427, allocations: 8.996 MB / 1.723 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.427, allocations: 8.031 kB / 1.723 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1371/1.564, allocations: 8.561 MB / 1.731 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0173/1.582, allocations: 5.385 MB / 1.736 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009602/1.583, allocations: 0.6902 MB / 1.737 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004289/1.587, allocations: 0.8983 MB / 1.738 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06637/1.653, allocations: 14.33 MB / 1.752 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004341/1.654, allocations: 27.77 kB / 1.752 GB, free: 15.72 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003503/1.657, allocations: 387.9 kB / 1.752 GB, free: 15.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/1.66, allocations: 0.5911 MB / 1.753 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08478/1.744, allocations: 15.52 MB / 1.768 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1352/1.88, allocations: 47.12 MB / 1.814 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0559/1.936, allocations: 9.85 MB / 1.824 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03082/1.967, allocations: 5.797 MB / 1.829 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002368/1.969, allocations: 0.703 MB / 1.83 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03477/2.004, allocations: 6.469 MB / 1.836 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=671): time 1.704e-05/2.004, allocations: 0 / 1.836 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1187): time 5.213/7.217, allocations: 335.3 MB / 2.164 GB, free: 90.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002638/7.217, allocations: 0.7036 MB / 2.165 GB, free: 89.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/7.228, allocations: 5.491 MB / 2.17 GB, free: 84.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005077/7.234, allocations: 229.7 kB / 2.17 GB, free: 84.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004152/7.238, allocations: 3.902 MB / 2.174 GB, free: 80.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008529/7.246, allocations: 3.902 MB / 2.178 GB, free: 76.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005364/7.252, allocations: 236 kB / 2.178 GB, free: 76.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008566/7.253, allocations: 0.7552 MB / 2.179 GB, free: 75.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1169/7.369, allocations: 19.14 MB / 2.197 GB, free: 56.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1183/7.488, allocations: 20.82 MB / 2.218 GB, free: 35.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1137/7.602, allocations: 18.78 MB / 2.236 GB, free: 16.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.826e-05/7.602, allocations: 12 kB / 2.236 GB, free: 16.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 1.035/8.637, allocations: 51.96 MB / 2.287 GB, free: 294.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006794/8.638, allocations: 1.091 MB / 2.288 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/8.638, allocations: 30.97 kB / 2.288 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.114/8.752, allocations: 14.23 MB / 2.302 GB, free: 291.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08494/8.837, allocations: 6.327 MB / 2.308 GB, free: 290.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1441/8.981, allocations: 41.5 MB / 2.349 GB, free: 252.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07566/9.057, allocations: 4.429 MB / 2.353 GB, free: 248.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005887/9.063, allocations: 0.6321 MB / 2.353 GB, free: 247.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/9.063, allocations: 4 kB / 2.353 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3152/9.378, allocations: 48.59 MB / 2.401 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/9.378, allocations: 28 kB / 2.401 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08121/9.46, allocations: 10.56 MB / 2.411 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08473/9.544, allocations: 6.378 MB / 2.417 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1008/9.645, allocations: 31.7 MB / 2.448 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07518/9.721, allocations: 4.379 MB / 2.453 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005688/9.726, allocations: 0.6282 MB / 2.453 GB, free: 145.3 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: 54 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,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 (1314): * Single equations (assignments): 1303 * 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.6%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01483/9.741, allocations: 2.465 MB / 2.456 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006809/9.748, allocations: 0.8409 MB / 2.457 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3727/10.12, allocations: 53.51 MB / 2.509 GB, free: 88.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003804/10.12, allocations: 59.77 kB / 2.509 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/10.12, allocations: 0 / 2.509 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01379/10.14, allocations: 4.158 MB / 2.513 GB, free: 84.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006964/10.14, allocations: 200 kB / 2.513 GB, free: 84.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0737/10.22, allocations: 4.378 MB / 2.517 GB, free: 79.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004495/10.22, allocations: 0.8712 MB / 2.518 GB, free: 78.82 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3629/10.58, allocations: 49.4 MB / 2.566 GB, free: 29.55 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 1.087/11.67, allocations: 62.49 MB / 2.628 GB, free: 273.5 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.151/11.82, allocations: 20.27 MB / 2.647 GB, free: 267.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01234/11.83, allocations: 3.665 MB / 2.651 GB, free: 266.4 MB / 0.948 GB Notification: Performance of Backend: time 2.254e-06/11.83, allocations: 3.562 kB / 2.651 GB, free: 266.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.3301/12.16, allocations: 50.3 MB / 2.7 GB, free: 244.3 MB / 0.948 GB Notification: Performance of SimCode: time 0.05776/12.22, allocations: 23.43 MB / 2.723 GB, free: 222.7 MB / 0.948 GB Notification: Performance of Templates: time 1.855/14.08, allocations: 0.5315 GB / 3.254 GB, free: 37.33 MB / 0.9637 GB